summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2019-05-21 14:28:08 -0400
committerraveit65 <[email protected]>2019-06-16 18:12:44 +0200
commit8a993a8f1f4dc161d41d44f5c0c1485a9041f7f5 (patch)
tree3787be71854352a0b51c5e84eef955577d38f02e /src/core
parent720e5f7b066ff30af146dc0449f6ff23f359e383 (diff)
downloadmarco-8a993a8f1f4dc161d41d44f5c0c1485a9041f7f5.tar.bz2
marco-8a993a8f1f4dc161d41d44f5c0c1485a9041f7f5.tar.xz
window: initialize few variables
upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/5b880ff3
Diffstat (limited to 'src/core')
-rw-r--r--src/core/window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/window.c b/src/core/window.c
index ba50fc51..fded7b8e 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -518,6 +518,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;