From fd089efa240af51a3cea6602aee9e6c5e708a321 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Thu, 6 Sep 2018 13:47:57 +0200 Subject: [PATCH] Linux: Zero initialize MwmHints (issue #2492) --- libcef/browser/views/window_view.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcef/browser/views/window_view.cc b/libcef/browser/views/window_view.cc index 7e56692ee..fd11e5062 100644 --- a/libcef/browser/views/window_view.cc +++ b/libcef/browser/views/window_view.cc @@ -323,7 +323,7 @@ void CefWindowView::CreateWidget() { }; Atom mwmHintsProperty = XInternAtom(display, "_MOTIF_WM_HINTS", 0); - struct MwmHints hints; + struct MwmHints hints = {}; hints.flags = MWM_HINTS_DECORATIONS; hints.decorations = 0; XChangeProperty(display, window, mwmHintsProperty, mwmHintsProperty, 32,