gtk/gdk/x11
Matthias Clasen 1533e67ae4 Try harder to discriminate Shift-F10 and F10
A change in xkeyboard-config 2.4.1 made it so that function keys
now have a shift level which has the same symbol, but 'eats' the
shift modifier. This would ordinarily make it impossible for us
to discriminate between these key combinations.

This commit tries harder to discriminate in 2 ways:
- XKB has a mechanism to tell us when a modifier should not be
  consumed even though it was used in determining the level.
  We now respect such 'preserved' modifiers. This does not fix
  the Shift-F10 vs F10 problem yet, since xkeyboard-config does
  not currently mark Shift as preserved for function keys.
- Don't consume modifiers that do not change the symbol. For
  the function keys, the symbol on the shift level is the same
  as the base level, so we don't consider Shift consumed.

For more background on the xkeyboard-config change, see
https://bugs.freedesktop.org/show_bug.cgi?id=45008

https://bugzilla.gnome.org/show_bug.cgi?id=661973
2012-09-09 18:49:18 -04:00
..
checksettings.c map "gtk-touchscreen-mode" to the "Gtk/TouchscreenMode" XSettings 2006-02-27 14:08:06 +00:00
gdkapplaunchcontext-x11.c Fix a segfault if the GAppInfo does not have an icon 2011-11-08 12:29:11 -05:00
gdkasync.c New approach for grab tracking code 2009-04-02 10:15:30 +02:00
gdkasync.h New approach for grab tracking code 2009-04-02 10:15:30 +02:00
gdkcolor-x11.c Add some missing introspection annotations 2010-02-22 23:47:24 -05:00
gdkcursor-x11.c Take cursor hotspot from pixbuf if available 2010-10-16 01:11:43 -04:00
gdkdisplay-x11.c gdk: Use 'const' instead deprecated G_CONST_RETURN 2011-06-15 14:47:19 +01:00
gdkdisplay-x11.h Make DND work better with shaped windows 2010-02-04 19:18:22 -05:00
gdkdnd-x11.c Fix problems with DND on some X servers 2012-01-03 11:03:45 -05:00
gdkdrawable-x11.c x11: #ifdef USE_SHM function where it belongs 2011-04-22 01:08:12 +02:00
gdkdrawable-x11.h Fix header inclusions for !srcdir builds 2010-10-16 16:53:44 -04:00
gdkevents-x11.c Fix a case of 'stuck grab' 2012-07-20 20:02:33 -04:00
gdkfont-x11.c gdk: Use 'const' instead deprecated G_CONST_RETURN 2011-06-15 14:47:19 +01:00
gdkgc-x11.c x11: Deprecate GdkGC functions 2010-08-12 01:54:58 +02:00
gdkgeometry-x11.c Revert "Deprecate the GdkRegion API" 2010-05-26 09:25:35 +02:00
gdkglobals-x11.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkim-x11.c Fix warning: cast to gchar* 2009-10-30 04:04:28 +01:00
gdkimage-x11.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkinput-none.c Make disabled xinput work again 2009-05-29 16:45:06 +02:00
gdkinput-x11.c Merge in Gdk-custom.c introspection annotations 2009-12-16 17:22:01 -02:00
gdkinput-xfree.c win32: Make WINTAB support work 2011-11-01 12:38:15 +01:00
gdkinput.c gdk: add gdk_device_get_n_keys() to access the sealed num_keys member 2010-11-24 20:15:29 +01:00
gdkinputprivate.h Select for DeviceStateNotify 2009-09-30 09:21:11 +02:00
gdkkeys-x11.c Try harder to discriminate Shift-F10 and F10 2012-09-09 18:49:18 -04:00
gdkmain-x11.c Deprecate gdk_set_sm_client_id 2010-12-21 09:54:13 -05:00
gdkpixmap-x11.c Fix a documentation error 2009-08-29 20:23:07 -04:00
gdkpixmap-x11.h Cleanup. (#169648, Fabricio Barros Cabral) 2005-06-12 05:32:25 +00:00
gdkprivate-x11.h Fix header inclusions for !srcdir builds 2010-10-16 16:53:44 -04:00
gdkproperty-x11.c gdk: Use 'const' instead deprecated G_CONST_RETURN 2011-06-15 14:47:19 +01:00
gdkscreen-x11.c Avoid spurious emissions of monitors-changed 2011-02-24 20:05:45 +01:00
gdkscreen-x11.h Add gdk_screen_get_primary_monitor(). This fixes bug #601712 2009-12-08 11:27:02 -06:00
gdkselection-x11.c Deprecate some gdk text conversion routines 2010-12-21 09:54:15 -05:00
gdksettings.c Expose gtk-auto-mnemonics as an Xsetting 2011-01-23 16:58:50 -05:00
gdkspawn-x11.c gdk_spawn* deprecation docs: Mention actual replacement functions. 2011-01-05 01:34:49 +01:00
gdktestutils-x11.c Bug 633291 - Handle Shift-keys in X11 gdk_test_simulate_key() 2011-02-13 12:34:19 +01:00
gdkvisual-x11.c [GI] Add missing (transfer) annotations 2011-01-26 12:49:08 +01:00
gdkwindow-x11.c Iconification using _NET_WM_STATE_HIDDEN hint if supported by WM 2012-03-02 20:37:32 +01:00
gdkwindow-x11.h Iconification using _NET_WM_STATE_HIDDEN hint if supported by WM 2012-03-02 20:37:32 +01:00
gdkx.h gdk: Use 'const' instead deprecated G_CONST_RETURN 2011-06-15 14:47:19 +01:00
gdkxftdefaults.c Make the initialization of screen_x11->xft_rgba more explicit. (#319627, 2005-10-25 18:11:57 +00:00
gdkxid.c Deprecate gdk_xid_table* functions 2010-12-21 09:54:15 -05:00
gxid_proto.h Initial revision 1997-11-24 22:37:52 +00:00
Makefile.am Make GTK+ build against an external gdk-pixbuf 2010-06-26 02:29:29 -04:00
MwmUtil.h Cleanup. (#169648, Fabricio Barros Cabral) 2005-06-12 05:32:25 +00:00
xsettings-client.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
xsettings-client.h Change the XSettingsWatchFunc to return a Bool to indicate success. Update 2007-04-10 23:16:30 +00:00
xsettings-common.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
xsettings-common.h Add some missing symbols. 2007-05-23 17:49:34 +00:00