|
Lines 417-423
Link Here
|
| 417 |
{ |
417 |
{ |
| 418 |
Visual* visual = CopyFromParent; |
418 |
Visual* visual = CopyFromParent; |
| 419 |
XSetWindowAttributes attrs; |
419 |
XSetWindowAttributes attrs; |
| 420 |
int flags = 0; |
420 |
int flags = CWOverrideRedirect; |
| 421 |
#ifdef HAVE_GLXCHOOSEVISUAL |
421 |
#ifdef HAVE_GLXCHOOSEVISUAL |
| 422 |
if( mOpenGLVisual ) |
422 |
if( mOpenGLVisual ) |
| 423 |
{ |
423 |
{ |
|
Lines 461-466
Link Here
|
| 461 |
} |
461 |
} |
| 462 |
} |
462 |
} |
| 463 |
#endif |
463 |
#endif |
|
|
464 |
|
| 465 |
attrs.override_redirect = 1; |
| 466 |
hide(); |
| 464 |
Window w = XCreateWindow( x11Display(), RootWindow( x11Display(), x11Screen()), |
467 |
Window w = XCreateWindow( x11Display(), RootWindow( x11Display(), x11Screen()), |
| 465 |
x(), y(), width(), height(), 0, x11Depth(), InputOutput, visual, flags, &attrs ); |
468 |
x(), y(), width(), height(), 0, x11Depth(), InputOutput, visual, flags, &attrs ); |
| 466 |
create( w ); |
469 |
create( w ); |
|
Lines 485-491
Link Here
|
| 485 |
|
488 |
|
| 486 |
setCursor( blankCursor ); |
489 |
setCursor( blankCursor ); |
| 487 |
setGeometry(0, 0, mRootWidth, mRootHeight); |
490 |
setGeometry(0, 0, mRootWidth, mRootHeight); |
| 488 |
hide(); |
|
|
| 489 |
|
491 |
|
| 490 |
kdDebug(1204) << "Saver window Id: " << winId() << endl; |
492 |
kdDebug(1204) << "Saver window Id: " << winId() << endl; |
| 491 |
} |
493 |
} |