1. 17 Dec, 2009 1 commit
  2. 15 Dec, 2009 2 commits
  3. 14 Dec, 2009 1 commit
  4. 13 Dec, 2009 4 commits
    • Jan Djärv's avatar
      Set the extended window manager hint for tooltip windows. · 36acb2a7
      Jan Djärv authored
      * xfns.c (x_create_tip_frame): Set the extended window manager hint for
      tooltip windows.
      
      * xterm.h (struct x_display_info): Add Xatom_net_window_type_tooltip and
      Xatom_net_window_type.
      
      * xterm.c (x_term_init): Initialize Xatom_net_window_type_tooltip and
      Xatom_net_window_type.
      36acb2a7
    • Jan Djärv's avatar
      Work around warning about g_set_prgname() called multiple times. · b8f00677
      Jan Djärv authored
      * xterm.c (my_log_handler): New function.
      (x_term_init): Set my_log_handler as log handler during gtk_init
      so we can filter out buggy messages. (bug #5120).
      b8f00677
    • Jan Djärv's avatar
      Bug 5177: Scroll bar thumb did not move when scrolling with mouse wheel. · e5f0bc9a
      Jan Djärv authored
      * xterm.c (xg_scroll_callback): Parameter list changed,
      use parameter GtkScrollType to determine scroll/line/page.
      Only allow dragging if a button < 4 is grabbed (bug #5177).
      (xg_end_scroll_callback): New function.
      (x_create_toolkit_scroll_bar): Pass xg_end_scroll_callback to
      xg_create_scroll_bar.
      
      * gtkutil.c (xg_gtk_scroll_destroy): Remove XG_LAST_SB_DATA handling.
      (scroll_end_callback): Remove.
      (xg_create_scroll_bar): Add parameter end_callback, bind it to
      button-release-event.  Replace value-changed event with change-value,
      bug #5177,
      (xg_event_is_for_scrollbar): Only return true if button is less than 4,
      bug #5177.
      
      * gtkutil.h (XG_LAST_SB_DATA): Remove.
      (xg_create_scroll_bar): Add GCallback end_callback.
      e5f0bc9a
    • Jan Djärv's avatar
      xftfont.c: Parse symbolic names for constants also. · 223e5fc6
      Jan Djärv authored
      (QClcdfilter): New variable.
      (xftfont_open): Parse constant names for RGBA, HINT_STYLE and LCDFILTER.
      (syms_of_xftfont): Initialize QClcdfilter.
      223e5fc6
  5. 12 Dec, 2009 5 commits
    • Jan Djärv's avatar
      Fix typo. · ba68c0b0
      Jan Djärv authored
      ba68c0b0
    • Jan Djärv's avatar
      DPI might get set to 0 if we saw some Xsettings, but not DPI. · 3c055b77
      Jan Djärv authored
      xsettings.c (struct xsettings): Add member seen.
      (parse_xft_settings): Update member seen with what we have read.
      Return 0 if Xft-settings have been parsed, 0 otherwise.
      (apply_xft_settings): Only update Xft settings with what member seen
      indicates as new.
      3c055b77
    • Eli Zaretskii's avatar
      (struct text_pos): Use EMACS_INT; · 05fe33ff
      Eli Zaretskii authored
      (struct glyph): Use EMACS_INT for charpos.
      (struct it): Use EMACS_INT for stop_charpos, end_charpos, region_beg_charpos,
      region_end_charpos, redisplay_end_trigger_charpos, and also for
      iterator_stack_entry.end_charpos and iterator_stack_entry.stop_charpos.
      05fe33ff
    • Jan Djärv's avatar
      gtkutil.c: Scroll bar thumb not updated properly (bug #5177). · e8d7886a
      Jan Djärv authored
      (scroll_end_callback): New function (bug #5177)
      (xg_create_scroll_bar): Call scroll_end_callback on button release
      event (bug #5177).
      (xg_event_is_for_scrollbar): != replaced with ==.
      e8d7886a
    • Kenichi Handa's avatar
      (struct ftfont_info): New member matrix. · d0db2ec8
      Kenichi Handa authored
      (ftfont_open): Setup xftfont_info->matrix.
      (MFLTFontFT): New member matrix.
      (FLOOR, CEIL, ROUND): New macros.
      (ftfont_get_metrics): Handle matrix transformation.
      (ftfont_shape_by_flt): New arg matrix.  Callers changed.
      d0db2ec8
  6. 09 Dec, 2009 4 commits
  7. 07 Dec, 2009 1 commit
  8. 05 Dec, 2009 2 commits
  9. 04 Dec, 2009 2 commits
  10. 03 Dec, 2009 3 commits
  11. 01 Dec, 2009 1 commit
  12. 30 Nov, 2009 1 commit
  13. 29 Nov, 2009 1 commit
  14. 28 Nov, 2009 1 commit
  15. 27 Nov, 2009 2 commits
  16. 26 Nov, 2009 1 commit
  17. 25 Nov, 2009 2 commits
  18. 24 Nov, 2009 3 commits
  19. 23 Nov, 2009 2 commits
    • Jan Djärv's avatar
      Must create deps for ecrt0.o in its rule. · cfc86c7a
      Jan Djärv authored
      cfc86c7a
    • Jan Djärv's avatar
      Set Xft defaults if no XSETTING is found, better default for Gtk+ font dialog. · 581e51e8
      Jan Djärv authored
      * xfns.c (Fx_select_font): Try to convert Fontconfig name to Gtk name
      because that is what Gtk+ font dialog understands.
      
      * font.c (font_make_object, Fcopy_font_spec): Use Fcopy_alist instead
      of Fcopy_sequence.
      (font_open_by_name): Put name given into QCname for font-object returned.
      
      * frame.c (x_set_font): Save original font name as frame parameter
      font-parameter.
      
      * xsettings.c (set_default_xft_settings): New function.
      (init_xfd_settings): Call set_default_xft_settings if no XSETTINGS window
      is found.
      581e51e8
  20. 22 Nov, 2009 1 commit