[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kcontrol/access
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2005-02-13 15:56:28
Message-ID: 20050213155628.06E491B94C () office ! kde ! org
[Download RAW message or body]

CVS commit by lunakl: 

Make sure the notification dialog about slow keys etc. activated is not
shown in background.
BUG: 99057


  M +3 -2      kaccess.cpp   1.27


--- kdebase/kcontrol/access/kaccess.cpp  #1.26:1.27
@@ -20,4 +20,5 @@
 #include <kshortcut.h>
 #include <kkeynative.h>
+#include <kwin.h>
 
 #include <X11/XKBlib.h>
@@ -554,7 +555,7 @@ void KAccessApp::xkbControlsNotify(XkbCo
               +" "+i18n("These AccessX settings are needed for some users with \
motion impairments and can be configured in the KDE Control Center. You can also turn \
them on and off with standardized keyboard gestures.\n\nIf you do not need them, you \
can select \"Deactivate all AccessX features and gestures\".") );  
+        KWin::setState( dialog->winId(), NET::KeepAbove );
+        kapp->updateUserTimestamp();
         dialog->show();
-        dialog->setActiveWindow();
-        dialog->raise();
      }
   }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic