From 163fb3a572ef6d73cafec2f95c65801acb96d53c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Tue, 12 Aug 2008 08:29:33 +0000 Subject: [PATCH] Make internal QWidget's override_redirect, just in case. svn path=/trunk/KDE/kdebase/workspace/; revision=845645 --- workspace.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/workspace.cpp b/workspace.cpp index a71f92a901..a6034b8316 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -228,7 +228,7 @@ void Workspace::init() // topDock = 0L; // maximizedWindowCounter = 0; - supportWindow = new QWidget; + supportWindow = new QWidget( NULL, Qt::X11BypassWindowManagerHint ); XLowerWindow( display(), supportWindow->winId()); // see usage in layers.cpp XSetWindowAttributes attr; @@ -1178,7 +1178,7 @@ bool Workspace::isNotManaged( const QString& title ) */ void Workspace::refresh() { - QWidget w; + QWidget w( NULL, Qt::X11BypassWindowManagerHint ); w.setGeometry( QApplication::desktop()->geometry() ); w.show(); w.hide(); @@ -2375,7 +2375,7 @@ void Workspace::setupTopMenuHandling() connect( topmenu_selection, SIGNAL( lostOwnership()), this, SLOT( lostTopMenuSelection())); disconnect( topmenu_watcher, SIGNAL( lostOwner()), this, SLOT( lostTopMenuOwner())); managing_topmenus = true; - topmenu_space = new QWidget; + topmenu_space = new QWidget( NULL, Qt::X11BypassWindowManagerHint ); Window stack[ 2 ]; stack[ 0 ] = supportWindow->winId(); stack[ 1 ] = topmenu_space->winId();