Example #1
0
 def unmanage(self, exiting=False):
     WindowDamageHandler.destroy(self)
     WindowModelStub.unmanage(self, exiting)
     self._managed = False
     rpw = self.root_prop_watcher
     if rpw:
         self.root_prop_watcher = None
         rpw.cleanup()
Example #2
0
 def unmanage(self, exiting=False):
     WindowDamageHandler.destroy(self)
     WindowModelStub.unmanage(self, exiting)
     self._managed = False
     rt = self.resize_timer
     if rt:
         self.resize_timer = None
         glib.source_remove(rt)
Example #3
0
 def __init__(self, root, resize_exact=False):
     WindowDamageHandler.__init__(self, root)
     WindowModelStub.__init__(self)
     self.root_prop_watcher = XRootPropWatcher(
         ["WINDOW_MANAGER", "_NET_SUPPORTING_WM_CHECK"], root)
     self.root_prop_watcher.connect("root-prop-changed",
                                    self.root_prop_changed)
     self.update_icon()
     self.resize_exact = resize_exact
Example #4
0
 def unmanage(self, exiting=False):
     WindowDamageHandler.destroy(self)
     WindowModelStub.unmanage(self, exiting)
     self._managed = False
Example #5
0
 def __init__(self, root):
     WindowDamageHandler.__init__(self, root)
     WindowModelStub.__init__(self)
Example #6
0
 def unmanage(self, exiting=False):
     WindowDamageHandler.destroy(self)
     WindowModelStub.unmanage(self, exiting)
     self._managed = False
Example #7
0
 def __init__(self, root):
     WindowDamageHandler.__init__(self, root)
     WindowModelStub.__init__(self)
Example #8
0
 def __init__(self, root):
     WindowDamageHandler.__init__(self, root)
     WindowModelStub.__init__(self)
     self.mapped_at = None
Example #9
0
 def __init__(self, root):
     WindowDamageHandler.__init__(self, root)
     WindowModelStub.__init__(self)
     self.resize_timer = None
     self.resize_value = None