mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Linux: Zero initialize MwmHints (issue #2492)
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user