[mutter] events: Remove an unnecessary check
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] events: Remove an unnecessary check
- Date: Thu, 8 May 2014 19:35:13 +0000 (UTC)
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]