1
0
Fork 0
mutter-performance-source/src
Rui Matos c39f18c2d4 wayland-keyboard: Don't send pressed keys on enter
We never want to send pressed keys to wayland clients on enter. The
protocol says that we should send them, presumably so that clients can
trigger their own key repeat routine in case they are given focus and
a key is physically pressed.

Unfortunately this causes some clients, in particular Xwayland, to
register key events that they really shouldn't handle, e.g. on an
Alt+Tab keybinding, where Alt is released before Tab, clients would
see Tab being pressed on enter followed by a key release event for
Tab, meaning that Tab would be processed by the client when it really
shouldn't.

Since the use case for the pressed keys array on enter seems weak to
us, we'll just fake that there are no pressed keys instead which
should be spec compliant even if it might not be true.

https://bugzilla.gnome.org/show_bug.cgi?id=727178
2014-10-08 15:26:28 +02:00
..
backends meta-monitor-manager-xrandr: Simplify handle_xevent 2014-10-03 15:12:00 -06:00
compositor default: Adjust the default background 2014-10-07 20:42:26 -07:00
core display: Do not include unmanaging windows in list_windows() 2014-10-07 20:09:09 +02:00
meta compositor: Add a "feedback" window group 2014-10-06 19:39:43 -07:00
tests Add a test for stacking vs. minimization 2014-09-24 16:51:20 -04:00
ui frames: Make sure to initialize button_state 2014-09-30 15:16:07 -06:00
wayland wayland-keyboard: Don't send pressed keys on enter 2014-10-08 15:26:28 +02:00
x11 window: Adjust the frame rect when _GTK_FRAME_EXTENTS is set on map 2014-09-19 17:35:38 -06:00
.cvsignore Install desktop files in both .../share/applications and 2008-09-12 04:05:17 +00:00
libmutter.pc.in meta: Add generated meta-version.h 2014-06-05 14:05:16 +02:00
Makefile-tests.am Add a test for stacking vs. minimization 2014-09-24 16:51:20 -04:00
Makefile.am wayland: Move MetaWaylandRegion into a new file as well 2014-10-07 20:44:18 -07:00
mutter-enum-types.c.in Add bits missing from last commit 2009-07-04 17:14:48 +01:00
mutter-enum-types.h.in Use a META_ prefix for enum types, not MUTTER_ 2012-02-23 16:39:28 -05:00
org.freedesktop.login1.xml launcher: Replace mutter-launch with logind integration 2014-05-19 15:09:23 -04:00
org.gnome.Mutter.DisplayConfig.xml Rename the DBus interface files 2014-03-31 23:44:46 -04:00
org.gnome.Mutter.IdleMonitor.xml Rename the DBus interface files 2014-03-31 23:44:46 -04:00