compositor: Make code a bit more understandable

This commit is contained in:
Jasper St. Pierre 2014-03-20 13:18:47 -04:00
parent 76dc0ca681
commit ca4777f778

View File

@ -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;