gtk/gdk/x11
Matthias Clasen 314b6abbe8 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-01 23:25:18 -04:00
..
checksettings.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkapplaunchcontext-x11.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkasync.c x11: Mark unused variables as such 2012-03-01 05:32:34 +01:00
gdkasync.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkcursor-x11.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkdevice-core-x11.c gdk: clean up logic error 2012-03-09 12:36:11 -05:00
gdkdevice-xi2.c gdk: clean up logic error 2012-03-09 12:36:11 -05:00
gdkdevicemanager-core-x11.c GtkPlug: fix handling of key events for different layouts 2012-04-30 16:35:10 -04:00
gdkdevicemanager-x11.c Require XInput2.h in X11 backend 2012-03-02 12:52:12 +00:00
gdkdevicemanager-xi2.c GtkPlug: fix handling of key events for different layouts 2012-04-30 16:35:10 -04:00
gdkdevicemanagerprivate-core.h x11: Avoid spurious focus events on grabs 2012-03-07 15:35:21 +01:00
gdkdisplay-x11.c gdk: Don't use GDK_THREADS_ENTER/LEAVE macros internally 2012-07-30 18:01:47 +02:00
gdkdisplay-x11.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkdisplaymanager-x11.c Drop support for pre-R6 X 2012-03-10 23:27:21 -05:00
gdkdnd-x11.c GDK X11 DND: Fix infinite loop 2012-05-14 23:02:23 -04:00
gdkeventsource.c gdk: Don't use GDK_THREADS_ENTER/LEAVE macros internally 2012-07-30 18:01:47 +02:00
gdkeventsource.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkeventtranslator.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkeventtranslator.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkgeometry-x11.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkkeys-x11.c Try harder to discriminate Shift-F10 and F10 2012-09-01 23:25:18 -04:00
gdkmain-x11.c Drop support for pre-R6 X 2012-03-10 23:27:21 -05:00
gdkprivate-x11.h GtkPlug: fix handling of key events for different layouts 2012-04-30 16:35:10 -04:00
gdkproperty-x11.c Drop support for pre-R6 X 2012-03-10 23:27:21 -05:00
gdkscreen-x11.c x11: Deal better with L-shaped monitor arrangements 2012-03-23 09:09:14 -04:00
gdkscreen-x11.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkselection-x11.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdksettings.c Add support for disabling middle click paste 2012-05-03 21:59:54 -04:00
gdktestutils-x11.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkvisual-x11.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkwindow-x11.c x11: Don't ignore button releases after a wmspec move/resize 2012-04-05 10:12:16 +02:00
gdkwindow-x11.h Iconification using _NET_WM_STATE_HIDDEN hint if supported by WM 2012-03-02 20:36:28 +01:00
gdkx11applaunchcontext.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkx11cursor.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkx11device-core.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkx11device-xi2.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkx11device.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkx11devicemanager-core.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkx11devicemanager-xi2.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkx11devicemanager-xi.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkx11devicemanager.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkx11display.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkx11displaymanager.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkx11dnd.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkx11keys.h GtkPlug: fix handling of key events for different layouts 2012-04-30 16:35:10 -04:00
gdkx11property.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkx11screen.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkx11selection.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkx11utils.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkx11visual.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkx11window.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkx.h Require XInput2.h in X11 backend 2012-03-02 12:52:12 +00:00
gdkxftdefaults.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkxid.c Change FSF Address 2012-02-27 17:06:11 +00:00
Makefile.am Drop unneeded XI2 defines 2012-03-10 23:13:19 -05:00
MwmUtil.h Change FSF Address 2012-02-27 17:06:11 +00:00
xsettings-client.c Drop support for pre-R6 X 2012-03-10 23:27:21 -05: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 Inclusion cleanups in sources 2010-10-14 22:09:36 -04:00
xsettings-common.h Multiple changes to reduce the amount of unprefixed symbols 2010-12-21 12:07:00 -05:00