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