mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-09 00:28:59 +01:00
Linux: Zero initialize MwmHints (issue #2492)
This commit is contained in:
parent
3f956461bb
commit
fd089efa24
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user