gtk2/gdk
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
..
broadway gdk: Don't use GDK_THREADS_ENTER/LEAVE macros internally 2012-07-30 18:01:47 +02:00
quartz quartz: add evil casting to make sure time wraps correctly on 32bit machines 2012-08-23 09:31:12 +02:00
tests Add more tests for GdkRGBA parsing 2012-01-09 00:31:20 -05:00
wayland gdk: Don't use GDK_THREADS_ENTER/LEAVE macros internally 2012-07-30 18:01:47 +02:00
win32 gdk: Don't use GDK_THREADS_ENTER/LEAVE macros internally 2012-07-30 18:01:47 +02:00
x11 Try harder to discriminate Shift-F10 and F10 2012-09-01 23:25:18 -04:00
abicheck.sh Bump the version to 3.0.0 2011-02-10 14:41:02 -05:00
COPYING Change FSF Address 2012-02-27 17:06:11 +00:00
fallback-c89.c Bug 676087-configure.ac: isnan() and isinf() are macros, not functions 2012-05-16 23:55:40 -04:00
gdk.c Expand the thread deprecation documentation 2012-08-01 10:26:17 +02:00
gdk.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdk.symbols GtkPlug: fix handling of key events for different layouts 2012-04-30 16:35:10 -04:00
gdkapplaunchcontext.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkapplaunchcontext.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkapplaunchcontextprivate.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkcairo.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkcairo.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkcolor.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkcolor.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkconfig.h.win32 Update gdk/gdkconfig.h.win32 2011-12-30 16:21:38 +08:00
gdkcursor.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkcursor.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkcursorprivate.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkdeprecated.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkdevice.c GdkDevice: Fix an inverted assertion 2012-06-20 22:44:32 -04:00
gdkdevice.h gdk: Remove an unused enumeration 2012-03-04 20:05:42 -05:00
gdkdevicemanager.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkdevicemanager.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkdevicemanagerprivate.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkdeviceprivate.h Add _gdk_device_get_axis_info 2012-04-03 11:37:41 +02:00
gdkdisplay.c gdk: do not send leave event on touchpad button release 2012-05-05 14:39:37 -04:00
gdkdisplay.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkdisplaymanager.c wayland: Prefer X11 backend over Wayland 2012-04-16 18:53:54 +02:00
gdkdisplaymanager.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkdisplaymanagerprivate.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkdisplayprivate.h gdk: Remove GdkDisplay->ignore_core_pointer 2012-04-03 11:37:42 +02:00
gdkdnd.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkdnd.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkdndprivate.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkenumtypes.c.template
gdkenumtypes.h.template
gdkevents.c gdk: add missing annotations to gdk_event_get_scroll_deltas 2012-06-10 22:21:32 +02:00
gdkevents.h gdk: add a missing annotation to GdkEventProperty 2012-06-10 22:22:19 +02:00
gdkglobals.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkinternals.h win32: Remove some unused input stuff to make win32 build again 2012-03-06 12:04:36 +01:00
gdkintl.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkkeynames.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkkeys.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkkeys.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkkeysprivate.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkkeysyms-compat.h Regenerate the gdk/gdkkeysyms.h and gdk/gdkkeysyms-compat.h files 2012-04-25 20:29:36 -04:00
gdkkeysyms-update.pl Fix the gdk/gdkkeysyms-update.pl to reflect new upstream location 2012-04-25 20:29:29 -04:00
gdkkeysyms.h Regenerate the gdk/gdkkeysyms.h and gdk/gdkkeysyms-compat.h files 2012-04-25 20:29:36 -04:00
gdkkeyuni.c Bug 676077: Fix handling of Keyboard Input on Windows 2012-06-25 23:23:01 +08:00
gdkmain.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkmarshalers.list
gdkoffscreenwindow.c gdk: fix the build 2012-05-15 13:27:21 -04:00
gdkpango.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkpango.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkpixbuf-drawable.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkpixbuf.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkprivate.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkproperty.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkrectangle.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkrectangle.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkrgba.c docs: Escape bare '#' in GdkRGBA string definitions 2012-05-20 13:45:05 +01:00
gdkrgba.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkscreen.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkscreen.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkscreenprivate.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkselection.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkselection.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdktestutils.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkthreads.h Leave GDK_THREADS_ENTER/LEAVE visible for now 2012-08-06 08:34:46 -04:00
gdktypes.h Correct the docs for GDK_MSB_FIRST 2012-05-26 14:40:12 -04:00
gdkversionmacros.h.in versionmacros: min-require the current stable version 2012-05-01 03:13:01 +02:00
gdkvisual.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkvisual.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkvisualprivate.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkwindow.c Remove gdk_window_flush_if_exposing as its not needed anymore 2012-08-23 16:31:31 +02:00
gdkwindow.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkwindowimpl.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkwindowimpl.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkx.h Change FSF Address 2012-02-27 17:06:11 +00:00
gen-keyname-table.pl gdk: Make gen-keyname-table.pl work again 2011-10-26 10:36:43 +01:00
keyname-table.h gdk: Update translator comment for "keyboard label" 2012-03-15 16:05:00 +01:00
keynames-translate.txt gdk: Translate keyboard brightness keys 2011-10-26 10:36:43 +01:00
keynames.txt
Makefile.am Bug 670499-Add gdk/fallback-c89.c 2012-05-03 11:55:11 +08:00
makefile.msc win32: gdk3 resurrection 2011-01-02 13:33:04 +01:00