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

List:       kde-commits
Subject:    KDE/kdelibs/kdeui/windowmanagement
From:       Patrick Spendrin <ps_ml () gmx ! de>
Date:       2009-07-22 23:23:29
Message-ID: 1248305009.453530.14298.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1001345 by sengels:

fix issues mentioned by Romain Pokrzywka in his review

 M  +0 -6      kwindowsystem_win.cpp  


--- trunk/KDE/kdelibs/kdeui/windowmanagement/kwindowsystem_win.cpp #1001344:1001345
@@ -178,10 +178,6 @@
     bool shellHookRegistered = false;
     if(pRegisterShellHook) {
         shellHookRegistered = pRegisterShellHook(winId(),RSH_TASKMGR);
-        if(!shellHookRegistered) {
-            shellHookRegistered = pRegisterShellHook(winId(),RSH_TASKMGR);
-            kDebug() << "second try using RegisterShellHook gave:" << shellHookRegistered;
-        }
     } else {
         //i'm not sure if i have to do this, and what happens if some other process uses KWindowSystem
         //if(pSetTaskmanWindow)
@@ -214,8 +210,6 @@
  */
 bool KWindowSystemPrivate::winEvent ( MSG * message, long * result )
 {
-    if(message->wParam == 15) return QWidget::winEvent(message,result);
-
     /* 
         check winuser.h for the following codes
         HSHELL_WINDOWCREATED        1
[prev in list] [next in list] [prev in thread] [next in thread] 

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