[mutter/wip/culling: 7/8] window: Reword a condition to make it easier to understand



commit d2e021a741561b3f06f7ea04722c3646f2a1d446
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Nov 22 12:13:32 2013 -0500

    window: Reword a condition to make it easier to understand
    
    https://bugzilla.gnome.org/show_bug.cgi?id=715030

 src/core/window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index 6c93636..ff27d0a 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -6025,7 +6025,7 @@ meta_window_focus (MetaWindow  *window,
    */
   if (window->frame &&
       (window->shaded ||
-       !(window->input || window->take_focus)))
+       (!window->input && !window->take_focus)))
     {
       if (window->frame)
         {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]