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

List:       kde-commits
Subject:    kdebase/kwin
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2005-04-28 9:47:58
Message-ID: 20050428094758.0B1D0664 () office ! kde ! org
[Download RAW message or body]

CVS commit by lunakl: 

When removing window, set it first to withdrawn state, then start cleaning
it up.
CCBUG: 103301


  M +1 -1      client.cpp   1.454


--- kdebase/kwin/client.cpp  #1.453:1.454
@@ -183,4 +183,5 @@ void Client::releaseWindow( bool on_shut
     finishWindowRules();
     ++block_geometry;
+    setMappingState( WithdrawnState );
     setModal( false ); // otherwise its mainwindow wouldn't get focus
     hidden = true; // so that it's not considered visible anymore (can't use \
hideClient(), it would set flags) @@ -215,5 +216,4 @@ void Client::releaseWindow( \
bool on_shut  XUnmapWindow( qt_xdisplay(), client ); 
         }
-    setMappingState( WithdrawnState ); // after all is done, tell the app
     client = None;
     XDestroyWindow( qt_xdisplay(), wrapper );


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

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