[mutter] events: Remove an unnecessary check



commit 9b95eda42ae9d882d44d32e41e8584b9f35cb63a
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu May 8 14:43:39 2014 -0400

    events: Remove an unnecessary check

 src/core/events.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/core/events.c b/src/core/events.c
index 2a60e8c..d97abaa 100644
--- a/src/core/events.c
+++ b/src/core/events.c
@@ -1967,7 +1967,7 @@ meta_display_handle_event (MetaDisplay        *display,
           unmodified = (event->button.modifier_state & grab_mask) == 0;
           fully_modified = grab_mask && (event->button.modifier_state & grab_mask) == grab_mask;
 
-          if (unmodified && window)
+          if (unmodified)
             {
               if (meta_prefs_get_raise_on_click ())
                 meta_window_raise (window);


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