mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 01:50:42 -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)
|
||||
return FALSE;
|
||||
|
||||
if (!meta_is_wayland_compositor () &&
|
||||
!begin_modal_x11 (screen, plugin, options, timestamp))
|
||||
if (!meta_is_wayland_compositor ())
|
||||
if (!begin_modal_x11 (screen, plugin, options, timestamp))
|
||||
return FALSE;
|
||||
|
||||
display->grab_op = META_GRAB_OP_COMPOSITOR;
|
||||
|
Loading…
Reference in New Issue
Block a user