CtrlCore: X11 now always using XCreateWindow with CWBackPixmap (thanks klugier)

git-svn-id: svn://ultimatepp.org/upp/trunk@6192 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2013-07-16 06:31:54 +00:00
parent 1dc13d8140
commit 03087c959c

View file

@ -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);