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 );