summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2019-05-21 14:28:08 -0400
committerVictor Kareh <[email protected]>2019-06-05 10:49:37 -0400
commit7d88bf4c26215d8090e5fa48b12a7063b9de4656 (patch)
tree60e7e8021e7811739208d3bbc18293b14331657f /src
parent1fbe641952f63f7a1632e5906e72596ded0adde0 (diff)
downloadmarco-7d88bf4c26215d8090e5fa48b12a7063b9de4656.tar.bz2
marco-7d88bf4c26215d8090e5fa48b12a7063b9de4656.tar.xz
window: initialize few variables
upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/5b880ff3
Diffstat (limited to 'src')
-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 1c4b5cc6..02e446c6 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;