From 93636cb37c512268cfcd6580e4cb3de5ab38c64b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Sat, 22 Mar 2008 19:08:33 +0000 Subject: [PATCH] Make the helper dialog modal, probably a Qt4-porting error. BUG: 156872 svn path=/trunk/KDE/kdebase/workspace/; revision=788878 --- kcmkwin/kwinrules/detectwidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/kcmkwin/kwinrules/detectwidget.cpp b/kcmkwin/kwinrules/detectwidget.cpp index 1cd0394185..c117308ba7 100644 --- a/kcmkwin/kwinrules/detectwidget.cpp +++ b/kcmkwin/kwinrules/detectwidget.cpp @@ -174,6 +174,7 @@ void DetectDialog::selectWindow() // grab only mouse, so that keyboard can be used e.g. for switching windows grabber = new KDialog( 0, Qt::X11BypassWindowManagerHint ); grabber->move( -1000, -1000 ); + grabber->setModal( true ); grabber->show(); grabber->grabMouse( Qt::CrossCursor ); grabber->installEventFilter( this );