|
Lines 299-307
KWD::Decorator::enableDecorations (Time timestamp,
Link Here
|
| 299 |
|
299 |
|
| 300 |
updateShadow (); |
300 |
updateShadow (); |
| 301 |
|
301 |
|
| 302 |
mDecorNormal = new KWD::Window (mCompositeWindow, qt_xrootwin (), |
302 |
mDecorNormal = new KWD::Window (mCompositeWindow->winId (), qt_xrootwin (), |
| 303 |
0, Window::Default); |
303 |
0, Window::Default); |
| 304 |
mDecorActive = new KWD::Window (mCompositeWindow, qt_xrootwin (), |
304 |
mDecorActive = new KWD::Window (mCompositeWindow->winId (), qt_xrootwin (), |
| 305 |
0, Window::DefaultActive); |
305 |
0, Window::DefaultActive); |
| 306 |
|
306 |
|
| 307 |
connect (mKWinModule, SIGNAL (windowAdded (WId)), |
307 |
connect (mKWinModule, SIGNAL (windowAdded (WId)), |
|
Lines 918-924
KWD::Decorator::handleWindowAdded (WId id)
Link Here
|
| 918 |
{ |
918 |
{ |
| 919 |
if (!mClients.contains (id)) |
919 |
if (!mClients.contains (id)) |
| 920 |
{ |
920 |
{ |
| 921 |
client = new KWD::Window (mCompositeWindow, id, frame, type, |
921 |
client = new KWD::Window (mCompositeWindow->winId (), |
|
|
922 |
id, frame, type, |
| 922 |
x, y, |
923 |
x, y, |
| 923 |
width + border * 2, |
924 |
width + border * 2, |
| 924 |
height + border * 2); |
925 |
height + border * 2); |
|
Lines 940-946
KWD::Decorator::handleWindowAdded (WId id)
Link Here
|
| 940 |
{ |
941 |
{ |
| 941 |
if (!mClients.contains (id)) |
942 |
if (!mClients.contains (id)) |
| 942 |
{ |
943 |
{ |
| 943 |
client = new KWD::Window (mCompositeWindow, id, 0, type, |
944 |
client = new KWD::Window (mCompositeWindow->winId (), id, 0, type, |
| 944 |
x, y, |
945 |
x, y, |
| 945 |
width + border * 2, |
946 |
width + border * 2, |
| 946 |
height + border * 2); |
947 |
height + border * 2); |