mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
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:
parent
1dc13d8140
commit
03087c959c
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue