mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 19:40:43 -05:00
compositor: Make code a bit more understandable
This commit is contained in:
parent
76dc0ca681
commit
ca4777f778
@ -426,8 +426,8 @@ meta_begin_modal_for_plugin (MetaScreen *screen,
|
|||||||
if (is_modal (display) || display->grab_op != META_GRAB_OP_NONE)
|
if (is_modal (display) || display->grab_op != META_GRAB_OP_NONE)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
if (!meta_is_wayland_compositor () &&
|
if (!meta_is_wayland_compositor ())
|
||||||
!begin_modal_x11 (screen, plugin, options, timestamp))
|
if (!begin_modal_x11 (screen, plugin, options, timestamp))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
display->grab_op = META_GRAB_OP_COMPOSITOR;
|
display->grab_op = META_GRAB_OP_COMPOSITOR;
|
||||||
|
Loading…
Reference in New Issue
Block a user