Files
gtk/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
..
2012-01-09 00:31:20 -05:00
2011-02-10 14:41:02 -05:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2011-12-30 16:21:38 +08:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-03-04 20:05:42 -05:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-05-15 13:27:21 -04:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-05-26 14:40:12 -04:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-05-03 11:55:11 +08:00
2011-01-02 13:33:04 +01:00