Linux: Zero initialize MwmHints (issue #2492)

This commit is contained in:
Marshall Greenblatt
2018-09-06 13:47:57 +02:00
parent 74b4a5fe27
commit 876e82f444

View File

@@ -323,7 +323,7 @@ void CefWindowView::CreateWidget() {
}; };
Atom mwmHintsProperty = XInternAtom(display, "_MOTIF_WM_HINTS", 0); Atom mwmHintsProperty = XInternAtom(display, "_MOTIF_WM_HINTS", 0);
struct MwmHints hints; struct MwmHints hints = {};
hints.flags = MWM_HINTS_DECORATIONS; hints.flags = MWM_HINTS_DECORATIONS;
hints.decorations = 0; hints.decorations = 0;
XChangeProperty(display, window, mwmHintsProperty, mwmHintsProperty, 32, XChangeProperty(display, window, mwmHintsProperty, mwmHintsProperty, 32,