1. 03 Apr, 2006 1 commit
    • Matthias Clasen's avatar
      Make _gdk_windowing_args const. · aff3329d
      Matthias Clasen authored
      2006-04-03  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gdkinternals.h:
      	* gdk/x11/gdkmain-x11.c:
      	* gdk/win32/gdkmain-win32.c:
      	* gdk/directfb/gdkdisplay-directfb.c:
      	* gdk/quartz/gdkmain-quartz.c: Make _gdk_windowing_args const.
      aff3329d
  2. 30 Mar, 2006 2 commits
  3. 15 Mar, 2006 1 commit
  4. 08 Mar, 2006 1 commit
    • Michael Natterer's avatar
      gdk/gdkscreen.h gdk/x11/gdkscreen-x11.c added · 5afb4f0f
      Michael Natterer authored
      2006-03-08  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/gdkscreen.h
      	* gdk/x11/gdkscreen-x11.c
      	* gdk/gdk.symbols: added gdk_screen_get_active_window() and
      	gdk_screen_get_window_stack() (patch from maemo-gtk).
      	Fixes bug #320881.
      
      	* gdk/directfb/gdkscreen-directfb.c
      	* gdk/quartz/gdkscreen-quartz.c
      	* gdk/win32/gdkscreen-win32.c: added the functions as stubs.
      5afb4f0f
  5. 04 Mar, 2006 1 commit
  6. 27 Feb, 2006 2 commits
    • Michael Natterer's avatar
      map "gtk-touchscreen-mode" to the "Gtk/TouchscreenMode" XSettings · 7324be3c
      Michael Natterer authored
      2006-02-27  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/x11/gdksettings.c: map "gtk-touchscreen-mode" to the
      	"Gtk/TouchscreenMode" XSettings property, remove trailing
      	whitespace.
      
      	* gdk/x11/checksettings.c: #include <string.h> and sprinkled some
      	newlines.
      7324be3c
    • Tim Janik's avatar
      moved and renamed the gdk_settings_names and gdk_settings_map. · e33012b8
      Tim Janik authored
      Mon Feb 27 14:52:50 2006  Tim Janik  <timj@imendio.com>
      
              * gdkevents-x11.c:
              * gdksettings.c: moved and renamed the gdk_settings_names and
              gdk_settings_map.
      
              * gdk/x11/checksettings.c: test program for the gdk_settings_map array.
      
              * gdk/x11/Makefile.am: run checksettings as part of make check.
      e33012b8
  7. 24 Feb, 2006 1 commit
  8. 20 Feb, 2006 2 commits
    • Michael Natterer's avatar
      adding boolean have_shapes and have_input_shapes members fixes the build. · 9b9a5bce
      Michael Natterer authored
      2006-02-20  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): adding boolean
      	have_shapes and have_input_shapes members fixes the build.
      9b9a5bce
    • Matthias Clasen's avatar
      Support input shapes: (#331070) · 1ad93a68
      Matthias Clasen authored
      2006-02-19  Matthias Clasen  <mclasen@redhat.com>
      
      	Support input shapes:  (#331070)
      
      	* gdk/gdk.symbols:
      	* gdk/gdkdisplay.h:
      	* gdk/gdkwindow.h:
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_supports_shapes)
      	(gdk_display_supports_input_shapes): Functions to determine
      	if a display supports shaped windows or input shapes.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_input_shape_combine_region):
      	(gdk_window_input_shape_combine_mask):
      	(gdk_window_set_child_input_shapes):
      	(gdk_window_merge_child_input_shapes): Input shape versions
      	of the window shape API.
      
      	* gtk/gtk.symbols:
      	* gtk/gtkwidget.h:
      	* gtk/gtkwidget.c (gtk_widget_input_shape_combine_mask):
      	New function to set an input shape on a widget.
      1ad93a68
  9. 02 Feb, 2006 1 commit
  10. 29 Jan, 2006 1 commit
  11. 25 Jan, 2006 1 commit
    • Matthias Clasen's avatar
      Only set the cursor size if it is != 0. · 2ec7ee28
      Matthias Clasen authored
      2006-01-25  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkcursor-x11.c (gdk_x11_display_set_cursor_theme): Only
      	set the cursor size if it is != 0.
      
      	* gtk/gtksettings.c (gtk_settings_class_init): Change the default value
      	of gtk-cursor-theme-size to 0, meaning "use default".
      2ec7ee28
  12. 20 Jan, 2006 1 commit
    • Matthias Clasen's avatar
      Use an unused high bit in the XID to mark fonts in the global xid hash · 73153b42
      Matthias Clasen authored
      2006-01-19  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkprivate-x11.h (XID_FONT_BIT):
      	* gdk/x11/gdkfont-x11.c:
      	* gdk/x11/gdkxid.c: Use an unused high bit in the
      	XID to mark fonts in the global xid hash table.
      
      	* gdk/x11/gdkcursor-x11.c (update_cursor): Skip fonts
      	when iterating over the xid hash table, since calling
      	GDK_IS_WINDOW () on an GdkFont can cause a segfault.
      	(#327751, Ryan Lortie)
      73153b42
  13. 11 Jan, 2006 3 commits
  14. 27 Dec, 2005 4 commits
  15. 05 Dec, 2005 1 commit
  16. 16 Nov, 2005 1 commit
    • Michael Natterer's avatar
      new internal function which destroys the display's event source. Also · 6e802acd
      Michael Natterer authored
      2005-11-16  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/x11/gdkevents-x11.c (_gdk_events_uninit): new internal
      	function which destroys the display's event source. Also removes
      	the source from the global display_sources list and unrefs it.
      
      	* gdk/x11/gdkprivate-x11.h: declare the function.
      
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_x11_dispose): call it
      	instead of half-destroying the source here.
      6e802acd
  17. 15 Nov, 2005 1 commit
  18. 10 Nov, 2005 3 commits
    • Matthias Clasen's avatar
      Remove an erroneous semicolon. · 6556787e
      Matthias Clasen authored
      2005-11-10  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkcolor-x11.c (gdkx_colormap_get): Remove an erroneous
      	semicolon.
      6556787e
    • Matthias Clasen's avatar
      Don't corrupt odd keymaps (#316638, Kean Johnston) · 83e2e23f
      Matthias Clasen authored
      2005-11-10  Matthias Clasen  <mclasen@redhat.com>
      
      	Don't corrupt odd keymaps (#316638, Kean Johnston)
      
      	* gdk/x11/gdkkeys-x11.c (set_symbol): Auxiliary function to
      	handle frobbing keymaps with odd numbers of syms/code.
      
      	* gdk/x11/gdkkeys-x11.c (update_keymaps): Use set_symbol() to
      	frob the keymap.
      83e2e23f
    • Michael Natterer's avatar
      Applied patch from maemo-gtk that addresses many issues wrt display · 8bdc0bf9
      Michael Natterer authored
      2005-11-10  Michael Natterer  <mitch@imendio.com>
      
      	Applied patch from maemo-gtk that addresses many issues wrt
      	display migration and display closing (bug #85715).
      
      	* gdk/gdkdisplay.c (gdk_display_dispose): don't just set the
      	default display to NULL when it's closed. Instead set the most
      	recently opened display as new default (if one exists).
      
      	* gdk/gdkpango.c (on_renderer_display_closed): fixed signature
      	of this callback.
      
      	* gdk/gdkscreen.c (gdk_screen_dispose): check if the GCs still
      	exist before unrefing them.
      
      	* gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): if the screen
      	is closed, allow destruction of the root window.
      
      	* gdk/x11/gdkdisplay-x11.c: moved some stuff from finalize() to
      	dispose(), free stuff that was leaked before.
      
      	* gdk/x11/gdkevents-x11.c (_gdk_x11_events_uninit_screen): check if
      	the xsettings_client still exists before destroying it.
      
      	* gdk/x11/gdkkeys-x11.c: added finalization and free the allocated
      	X resources.
      
      	* gdk/x11/gdkpixmap-x11.c: moved stuff from finalize() to new
      	dispose() implementation.
      
      	* gdk/x11/gdkscreen-x11.c: moved stuff from finalize() to
      	dispose() and check if it still exists before unrefing it. Set
      	their pointers to NULL/None *after* upchaining in dispose(),
      	because X11 implementations of members of the parent class still
      	need them for their own destruction.
      
      	* gdk/x11/gdkvisual-x11.c: removed finalize() implementation which
      	was g_error()ing when finalizing a visual.
      
      	* gtk/gtkclipboard.c (gtk_clipboard_finalize): don't use
      	get_clipboard_widget() because it would create the widget if it
      	doesn't exist. Use g_object_get_data() directly instead.
      
      	* gtk/gtktextdisplay.c (on_renderer_display_closed): fixed signature
      	of this callback.
      8bdc0bf9
  19. 08 Nov, 2005 2 commits
  20. 26 Oct, 2005 1 commit
  21. 25 Oct, 2005 1 commit
  22. 24 Oct, 2005 1 commit
    • Matthias Clasen's avatar
      Add settings to hide the input method and Unicode control character · f2724a25
      Matthias Clasen authored
      2005-10-24  Matthias Clasen  <mclasen@redhat.com>
      
              Add settings to hide the input method and Unicode control character
              submenus in the context menus of GtkEntry and GtkTextView.
      
              * gdk/x11/gdkevents-x11.c: Map GTK+ settings to X settings.
      
              * gtk/gtksettings.c (gtk_settings_class_init): Declare GTK+ settings here.
      
              * gtk/gtktextview.c (popup_targets_received):
              * gtk/gtkentry.c (popup_targets_received): Use the settings here.
      f2724a25
  23. 26 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Fix #316871, reported by Dan Winship: · 44012804
      Matthias Clasen authored
      2005-09-26  Matthias Clasen  <mclasen@redhat.com>
      
      	Fix #316871, reported by Dan Winship:
      
      	* gdk/gdkwindow.h (struct _GdkWindowObject): Add a shaped flag.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_shape_combine_mask)
      	(gdk_window_shape_combine_region): Set it here.
      
      	* gdk/gdkwindow.c (gdk_window_invalidate_maybe_recurse): Don't
      	remove the child area for shaped windows.
      44012804
  24. 20 Sep, 2005 1 commit
  25. 13 Sep, 2005 1 commit
  26. 11 Sep, 2005 1 commit
  27. 09 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Make it possible to determine if a key event is for a modifier key: · 03aea1a3
      Matthias Clasen authored
      2005-09-09  Matthias Clasen  <mclasen@redhat.com>
      
      	Make it possible to determine if a key event is for a
      	modifier key:
      
       	* gdk/x11/gdkprivate-x11.h:
      	* gdk/x11/gdkkeys-x11.c (_gdk_keymap_key_is_modifier):
      	New function to determine if a keycode is mapped to a modifier.
      	(get_xkb): Get the modmap.
      
      	* gdk/x11/gdkevents-x11.c (translate_key_event): Set the
      	is_modifier bit by calling _gdk_keymap_key_is_modifier().
      
      	* gdk/gdkevents.h (struct _GdkEventKey): Add an is_modifier
      	bit.
      03aea1a3
  28. 07 Sep, 2005 1 commit
  29. 06 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Add support for extra virtual modifiers: (#85780, Owen Taylor) · 543ce674
      Matthias Clasen authored
      2005-09-06  Matthias Clasen  <mclasen@redhat.com>
      
      	Add support for extra virtual modifiers:  (#85780, Owen Taylor)
      
      	* gdk/x11/gdkkeys-x11.c (struct _GdkKeymapX11): Add a
      	modmap to maintain the information which X modifiers map to
      	virtual modifiers.
      	(get_xkb): Set up the modmap from the XKB tables.
      	(update_keymaps): Set up the modmap from the information returned
      	by XGetModifierMapping in the non-XKB case.
      
      	* gdk/x11/gdkprivate-x11.h:
      	* gdk/x11/gdkkeys-x11.c (_gdk_keymap_add_virtual_modifiers): New
      	function to set the virtual modifiers in the state.
      
      	* gdk/x11/gdkevents-x11.c (translate_key_event): Call
      	_gdk_keymap_add_virtual_modifiers here.
      
      	* gdk/gdktypes.h (GdkModifierType): Add bits for virtual Super,
      	Hyper and Meta modifiers. Also add GDK_ALT_MASK as an alias
      	for GDK_MOD1_MASK.
      543ce674