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

List:       kde-commits
Subject:    kdebase/kdesktop
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2003-07-29 17:46:58
[Download RAW message or body]

CVS commit by lunakl: 

Fix staying on top. Since the WM has to remove the _NET_WM_STATE property
from a window on withdraw, before showing the reused minicli window
the on-top state has to be set again.


  M +6 -1      minicli.cpp   1.157
  M +2 -0      minicli.h   1.45


--- kdebase/kdesktop/minicli.cpp  #1.156:1.157
@@ -202,5 +202,4 @@ Minicli::Minicli( QWidget *parent, const
 
   loadConfig();
-  KWin::setState( winId(), NET::StaysOnTop );
 }
 
@@ -208,4 +207,10 @@ Minicli::~Minicli()
 {
   delete m_filterData;
+}
+
+void Minicli::show()
+{
+  KWin::setState( winId(), NET::StaysOnTop );
+  KDialog::show();
 }
 

--- kdebase/kdesktop/minicli.h  #1.44:1.45
@@ -52,4 +52,6 @@ public:
   void saveConfig();
   void clearHistory();
+  
+  virtual void show();
 
 protected slots:


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

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