Linux: Zero initialize MwmHints (issue #2492)
This commit is contained in:
parent
0abd08b6cc
commit
116859456e
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue