[metacity] window: initialize few variables



commit 5b880ff3ea7ab2244279c911fdfab3f2af81ee03
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sat Oct 25 16:09:36 2014 +0300

    window: initialize few variables

 src/core/window.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index 6b68348..83adc0a 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -494,6 +494,8 @@ meta_window_new_with_attrs (MetaDisplay       *display,
   window->initial_timestamp_set = FALSE;
   window->net_wm_user_time_set = FALSE;
   window->user_time_window = None;
+  window->take_focus = FALSE;
+  window->input = TRUE;
   window->calc_placement = FALSE;
   window->shaken_loose = FALSE;
   window->have_focus_click_grab = FALSE;


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