Make internal QWidget's override_redirect, just in case.
svn path=/trunk/KDE/kdebase/workspace/; revision=845645
This commit is contained in:
parent
5466cbf6dc
commit
163fb3a572
1 changed files with 3 additions and 3 deletions
|
@ -228,7 +228,7 @@ void Workspace::init()
|
||||||
// topDock = 0L;
|
// topDock = 0L;
|
||||||
// maximizedWindowCounter = 0;
|
// maximizedWindowCounter = 0;
|
||||||
|
|
||||||
supportWindow = new QWidget;
|
supportWindow = new QWidget( NULL, Qt::X11BypassWindowManagerHint );
|
||||||
XLowerWindow( display(), supportWindow->winId()); // see usage in layers.cpp
|
XLowerWindow( display(), supportWindow->winId()); // see usage in layers.cpp
|
||||||
|
|
||||||
XSetWindowAttributes attr;
|
XSetWindowAttributes attr;
|
||||||
|
@ -1178,7 +1178,7 @@ bool Workspace::isNotManaged( const QString& title )
|
||||||
*/
|
*/
|
||||||
void Workspace::refresh()
|
void Workspace::refresh()
|
||||||
{
|
{
|
||||||
QWidget w;
|
QWidget w( NULL, Qt::X11BypassWindowManagerHint );
|
||||||
w.setGeometry( QApplication::desktop()->geometry() );
|
w.setGeometry( QApplication::desktop()->geometry() );
|
||||||
w.show();
|
w.show();
|
||||||
w.hide();
|
w.hide();
|
||||||
|
@ -2375,7 +2375,7 @@ void Workspace::setupTopMenuHandling()
|
||||||
connect( topmenu_selection, SIGNAL( lostOwnership()), this, SLOT( lostTopMenuSelection()));
|
connect( topmenu_selection, SIGNAL( lostOwnership()), this, SLOT( lostTopMenuSelection()));
|
||||||
disconnect( topmenu_watcher, SIGNAL( lostOwner()), this, SLOT( lostTopMenuOwner()));
|
disconnect( topmenu_watcher, SIGNAL( lostOwner()), this, SLOT( lostTopMenuOwner()));
|
||||||
managing_topmenus = true;
|
managing_topmenus = true;
|
||||||
topmenu_space = new QWidget;
|
topmenu_space = new QWidget( NULL, Qt::X11BypassWindowManagerHint );
|
||||||
Window stack[ 2 ];
|
Window stack[ 2 ];
|
||||||
stack[ 0 ] = supportWindow->winId();
|
stack[ 0 ] = supportWindow->winId();
|
||||||
stack[ 1 ] = topmenu_space->winId();
|
stack[ 1 ] = topmenu_space->winId();
|
||||||
|
|
Loading…
Reference in a new issue