[mutter/wayland] compositor: Make code a bit more understandable
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland] compositor: Make code a bit more understandable
- Date: Thu, 20 Mar 2014 17:22:27 +0000 (UTC)
commit ca4777f77860155bbc114bee6faa12edc0ce7e1d
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Mar 20 13:18:47 2014 -0400
compositor: Make code a bit more understandable
src/compositor/compositor.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c
index 2d79875..0a20a06 100644
--- a/src/compositor/compositor.c
+++ b/src/compositor/compositor.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]