display: Without a grab op let events go through clutter too

We want events to reach clutter no only when there a compositor modal
grab but also when no grab op is in effect.

https://bugzilla.gnome.org/show_bug.cgi?id=712247
This commit is contained in:
Rui Matos 2013-11-13 21:38:27 +01:00
parent 23ba3e527f
commit ae44bff0b1

View File

@ -2296,7 +2296,8 @@ meta_display_handle_event (MetaDisplay *display,
}
#endif /* HAVE_WAYLAND */
return (display->grab_op != META_GRAB_OP_COMPOSITOR);
return (display->grab_op != META_GRAB_OP_NONE &&
display->grab_op != META_GRAB_OP_COMPOSITOR);
}
static gboolean