mirror of
https://github.com/brl/mutter.git
synced 2025-02-04 15:44:10 +00:00
ui: Remove unneeded code
There's no way now that GDK will hold a grab, so it is safe to remove this now.
This commit is contained in:
parent
faf55c4627
commit
0919b37c34
@ -147,13 +147,6 @@ maybe_redirect_mouse_event (XEvent *xevent)
|
|||||||
gmanager = gdk_display_get_device_manager (gdisplay);
|
gmanager = gdk_display_get_device_manager (gdisplay);
|
||||||
gdevice = gdk_x11_device_manager_lookup (gmanager, META_VIRTUAL_CORE_POINTER_ID);
|
gdevice = gdk_x11_device_manager_lookup (gmanager, META_VIRTUAL_CORE_POINTER_ID);
|
||||||
|
|
||||||
/* If GDK already thinks it has a grab, we better let it see events; this
|
|
||||||
* is the menu-navigation case and events need to get sent to the appropriate
|
|
||||||
* (client-side) subwindow for individual menu items.
|
|
||||||
*/
|
|
||||||
if (gdk_display_device_is_grabbed (gdisplay, gdevice))
|
|
||||||
return FALSE;
|
|
||||||
|
|
||||||
switch (xev->evtype)
|
switch (xev->evtype)
|
||||||
{
|
{
|
||||||
case XI_TouchBegin:
|
case XI_TouchBegin:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user