mirror of
https://github.com/brl/mutter.git
synced 2024-12-27 05:12:15 +00:00
compositor: Make code a bit more understandable
This commit is contained in:
parent
76dc0ca681
commit
ca4777f778
@ -426,9 +426,9 @@ 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))
|
||||
return FALSE;
|
||||
if (!meta_is_wayland_compositor ())
|
||||
if (!begin_modal_x11 (screen, plugin, options, timestamp))
|
||||
return FALSE;
|
||||
|
||||
display->grab_op = META_GRAB_OP_COMPOSITOR;
|
||||
display->grab_window = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user