display: Wayland client grabs should not block Wayland input focus

This fixes menu issues with GTK+.
This commit is contained in:
Jasper St. Pierre 2014-04-12 00:20:27 -07:00
parent b4293d46a6
commit bb62f49c98

View File

@ -1304,6 +1304,9 @@ meta_grab_op_should_block_wayland (MetaGrabOp op)
if (op == META_GRAB_OP_NONE) if (op == META_GRAB_OP_NONE)
return FALSE; return FALSE;
if (op == META_GRAB_OP_WAYLAND_CLIENT)
return FALSE;
/* Clicking on a frame button needs us to deliver events to the /* Clicking on a frame button needs us to deliver events to the
* frame window, since the button is part of the frame here. */ * frame window, since the button is part of the frame here. */
if (meta_grab_op_is_clicking (op)) if (meta_grab_op_is_clicking (op))