Changeset 169

Show
Ignore:
Timestamp:
05/10/08 01:40:22 (8 months ago)
Author:
poillubo
Message:

* corrected a bug when switching from the old current desktop to a non-current one (Client.withdraw was always called when doing the window unmapping)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/pycawm/client.py

    r166 r169  
    830830        self.desktop.clients.remove(self) 
    831831 
     832        # the client will be on a non-current desktop 
     833        if self.on_current_desktop(): 
     834            # make it non-visible now! 
     835            self.hide() 
     836 
    832837        self.desktop = desktop 
    833838        # insert client at the right place in the new desktop