Linux: Zero initialize MwmHints (issue #2492)

This commit is contained in:
Marshall Greenblatt 2018-09-06 13:47:57 +02:00
parent 0abd08b6cc
commit 116859456e
1 changed files with 1 additions and 1 deletions

View File

@ -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,