1
0
Fork 0
mutter-performance-source/src
Carlos Garnacho a6cc35e595 wayland: remove pressed button checks from meta_wayland_pointer_can_grab_surface()
Leave these checks up to the callers, the only uses of this function
(indirect, through meta_wayland_seat_get_grab_info) are
[wl_shell|xdg]_surface.move/resize/show_window_menu.

In move/resize it makes sense to check for a button being pressed, because
we must expect a button release event. However for xdg_surface.show_window_menu
we 1) don't strictly need further events and 2) we must account for press+release
event pairs being processed at once in the compositor before the client sees
the former.

That is eg. the case of touchpad 2nd/3rd button tap emulation, multifinger
taps will emit the event pair at once, so when the client manages to request
xdg_surface.show_window_menu, it'll be too late in the compositor side, so the
request is ignored.

https://bugzilla.gnome.org/show_bug.cgi?id=764519
2016-04-25 14:23:01 +02:00
..
backends monitor-manager: Add get_is_builtin_display_on() 2016-04-21 21:16:16 +02:00
compositor Do not skip CoglError parameters 2016-04-15 17:22:24 +02:00
core keybindings: Keep virtual modifier masks around 2016-04-19 18:02:25 +02:00
meta monitor-manager: Add get_is_builtin_display_on() 2016-04-21 21:16:16 +02:00
tests unit-tests: Fix const compiler warning 2016-03-11 12:26:38 +01:00
ui theme: set RTL/LTR flags on the style context 2016-04-09 10:03:27 -07:00
wayland wayland: remove pressed button checks from meta_wayland_pointer_can_grab_surface() 2016-04-25 14:23:01 +02:00
x11 bell: Let the X11 caller deal with the X11 fallback 2016-03-10 12:34:56 +08: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 tests: Add unit tests framework runner 2016-02-26 17:52:01 +08:00
Makefile.am wayland: Add gtk-primary-selection protocol 2016-02-26 19:51:32 +01:00
meta-enum-types.c.in Install enum types 2015-07-05 22:01:59 -07:00
meta-enum-types.h.in Install enum types 2015-07-05 22:01:59 -07:00
org.freedesktop.login1.xml MetaLauncher: Don't g_error() on failure 2015-11-06 17:03:59 -05: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
stamp-mutter-enum-types.h Install enum types 2015-07-05 22:01:59 -07:00