diff --git a/uppsrc/CtrlCore/X11Wnd.cpp b/uppsrc/CtrlCore/X11Wnd.cpp index 78b8021dd..1dc3ab8ea 100644 --- a/uppsrc/CtrlCore/X11Wnd.cpp +++ b/uppsrc/CtrlCore/X11Wnd.cpp @@ -483,8 +483,7 @@ void Ctrl::Create(Ctrl *owner, bool redirect, bool savebits) Window w = XCreateWindow(Xdisplay, RootWindow(Xdisplay, Xscreenno), r.left, r.top, r.Width(), r.Height(), 0, CopyFromParent, InputOutput, CopyFromParent, - CWBitGravity|CWSaveUnder|CWOverrideRedirect| - (IsCompositedGui() ? CWBackPixmap : CWBackPixel), + CWBitGravity|CWSaveUnder|CWOverrideRedirect|CWBackPixmap, &swa); if(!w) XError("XCreateWindow failed !"); int i = Xwindow().Find(None);