1. 12 Jul, 2010 1 commit
    • Dan Nicolaescu's avatar
      Convert function definitions to standard C. · ebd15611
      Dan Nicolaescu authored
      * src/xterm.c (x_frame_of_widget, x_alloc_nearest_color_for_widget)
      (x_alloc_lighter_color_for_widget, cvt_string_to_pixel)
      (cvt_pixel_dtor, x_window_to_menu_bar, xt_action_hook)
      (xaw_jump_callback, xaw_scroll_callback)
      (x_create_toolkit_scroll_bar, x_set_toolkit_scroll_bar_thumb)
      (x_wm_set_size_hint, x_activate_timeout_atimer): Convert
      definitions to standard C.
      * src/xmenu.c (menubar_id_to_frame, popup_get_selection)
      (popup_activate_callback, popup_deactivate_callback)
      (menu_highlight_callback, menubar_selection_callback)
      (apply_systemfont_to_dialog, apply_systemfont_to_menu)
      (free_frame_menubar, popup_selection_callback, as)
      (create_and_show_popup_menu, dialog_selection_callback)
      (create_and_show_dialog):
      * src/xfns.c (hack_wm_protocols, x_window):
      * src/xfaces.c (x_update_menu_appearance):
      * src/widget.c (get_default_char_pixel_size, pixel_to_char_size)
      (char_to_pixel_size, round_size_to_char, get_wm_shell)
      (set_frame_size, update_wm_hints, setup_frame_gcs)
      (update_various_frame_slots, update_from_various_frame_slots)
      (EmacsFrameInitialize, EmacsFrameRealize, EmacsFrameResize)
      (EmacsFrameSetValues, EmacsFrameQueryGeometry)
      (EmacsFrameSetCharSize, widget_store_internal_border): Likewise.
      ebd15611
  2. 13 Jan, 2010 1 commit
  3. 21 Oct, 2009 1 commit
    • Jan Djärv's avatar
      Fix resize due to font change on a maximized/xmonad-controlled frame. · 5c646d5a
      Jan Djärv authored
      * xterm.h (x_wait_for_event): Declare it.
      
      * xterm.c (pending_event_wait): New variable.
      (handle_one_xevent): Set pending_event_wait.eventtype to 0 if we
      see pending_event_wait.eventtype.
      (handle_one_xevent): Don't change gravity when parent changes.
      (x_new_font): Call change_frame_size with new rows/columns before we try
      to resize the frame.
      (x_wait_for_event): New function.
      (x_set_window_size_1): Don't change gravity unless change_gravity is set.
      Call XResizeWindow with FRAME_OUTER_WINDOW.  If we are visible,
      don't change frame size, instead wait for the ConfigureNotify.
      (x_set_window_size): Call x_set_window_size_1 for USE_X_TOOLKIT also.
      (x_wm_set_size_hint): Remove ifdefs for USE_X_TOOLKIT.
      (x_initialize): Initialize pending_event_wait.
      
      * xmenu.c (set_frame_menubar): Add internal border width to menu bar
      size.
      
      * widget.c (EmacsFrameSetValues): Add comment.
      (EmacsFrameSetCharSize): Just call x_set_window_size.
      
      * gtkutil.c (xg_frame_set_char_size): Flush events and call
      x_wait_for_event.
      (flush_and_sync): Removed again.
      (xg_get_font_name): Suggest monospace if no previous font is known.
      5c646d5a
  4. 19 Oct, 2009 1 commit
    • Dan Nicolaescu's avatar
      * alloc.c: Do not define struct catchtag. · d7306fe6
      Dan Nicolaescu authored
      * eval.c: Move struct catchtag definition ...
      * lisp.h: ... here.
      
      * image.c: Move png.h #include earlier to avoid warnings.
      
      * xterm.c:
      * xsmfns.c:
      * xselect.c:
      * xrdb.c:
      * xmenu.c:
      * xftfont.c:
      * xfont.c:
      * xfns.c:
      * xfaces.c:
      * xdisp.c:
      * window.c:
      * widget.c:
      * w32xfns.c:
      * w32uniscribe.c:
      * w32term.c:
      * w32select.c:
      * w32reg.c:
      * w32proc.c:
      * w32menu.c:
      * w32inevt.c:
      * w32heap.c:
      * w32font.c:
      * w32fns.c:
      * w32console.c:
      * w32.c:
      * w16select.c:
      * vm-limit.c:
      * unexsol.c:
      * unexec.c:
      * unexcw.c:
      * unexaix.c:
      * undo.c:
      * tparam.c:
      * textprop.c:
      * terminfo.c:
      * terminal.c:
      * termcap.c:
      * term.c:
      * syntax.c:
      * sound.c:
      * sheap.c:
      * search.c:
      * scroll.c:
      * region-cache.c:
      * regex.c:
      * ralloc.c:
      * process.c:
      * print.c:
      * msdos.c:
      * minibuf.c:
      * menu.c:
      * marker.c:
      * macros.c:
      * keymap.c:
      * keyboard.c:
      * intervals.c:
      * insdel.c:
      * indent.c:
      * gtkutil.c:
      * ftxfont.c:
      * ftfont.c:
      * fringe.c:
      * frame.c:
      * fontset.c:
      * font.c:
      * fns.c:
      * floatfns.c:
      * filelock.c:
      * fileio.c:
      * emacs.c:
      * editfns.c:
      * dosfns.c:
      * doprnt.c:
      * doc.c:
      * dispnew.c:
      * dired.c:
      * dbusbind.c:
      * data.c:
      * composite.c:
      * coding.c:
      * cmds.c:
      * cm.c:
      * chartab.c:
      * charset.c:
      * character.c:
      * ccl.c:
      * category.c:
      * casetab.c:
      * casefiddle.c:
      * callproc.c:
      * callint.c:
      * bytecode.c:
      * buffer.c:
      * atimer.c: Include setjmp.h.  (Bug#4643)
      
      * xlwmenu.c:
      * lwlib.c:
      * lwlib-utils.c:
      * lwlib-Xm.c:
      * lwlib-Xlw.c:
      * lwlib-Xaw.c: Include setjmp.h.
      d7306fe6
  5. 08 Jan, 2009 1 commit
  6. 26 Aug, 2008 1 commit
  7. 14 May, 2008 1 commit
  8. 08 Jan, 2008 1 commit
  9. 25 Jul, 2007 1 commit
  10. 22 Mar, 2007 1 commit
  11. 14 Jan, 2007 1 commit
  12. 01 Apr, 2006 1 commit
    • Karoly Lorentey's avatar
      Fix tooltip border color. · ce593f6e
      Karoly Lorentey authored
      * src/xterm.h (x_output): Remove background_pixel and foreground_pixel
        fields.
      
      * src/widget.c (update_from_various_frame_slots): Use
        FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL.
      
      * src/xfns.c (x_set_foreground_color): Ditto.
      * src/xfns.c (x_set_background_color): Ditto.
      * src/xfns.c (x_set_mouse_color): Ditto.
      * src/xfns.c (x_set_cursor_color): Ditto.
      * src/xfns.c (x_make_gc): Ditto.
      * src/xfns.c (Fx_create_frame): Ditto.
      * src/xfns.c (x_create_tip_frame): Ditto.
      * src/xfns.c (build_string): Ditto.
      * src/xterm.c (XTflash): Ditto.
      * src/xterm.c (x_free_frame_resources): Ditto.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-544
      ce593f6e
  13. 06 Feb, 2006 1 commit
  14. 07 Aug, 2005 1 commit
  15. 04 Jul, 2005 1 commit
  16. 21 Jul, 2004 1 commit
  17. 16 Apr, 2004 1 commit
  18. 08 Sep, 2003 1 commit
  19. 01 Sep, 2003 1 commit
  20. 24 May, 2003 1 commit
  21. 12 Mar, 2003 1 commit
  22. 04 Feb, 2003 1 commit
  23. 19 Apr, 2002 1 commit
  24. 30 Mar, 2002 1 commit
  25. 01 Dec, 2001 1 commit
  26. 16 Nov, 2001 1 commit
  27. 24 Oct, 2001 1 commit
  28. 27 Jun, 2001 1 commit
  29. 25 Jun, 2001 1 commit
  30. 12 May, 2001 1 commit
  31. 13 Mar, 2001 1 commit
  32. 02 Jan, 2001 1 commit
  33. 07 Dec, 2000 1 commit
  34. 03 Aug, 2000 1 commit
  35. 22 Jun, 2000 2 commits
  36. 17 Jan, 2000 1 commit
  37. 15 Sep, 1999 1 commit
  38. 30 Aug, 1999 1 commit
  39. 21 Aug, 1999 1 commit