Exemplo n.º 1
0
 def setup(self):
     WindowDamageHandler.setup(self)
     screen = self.client_window.get_screen()
     screen.connect("size-changed", self._screen_size_changed)
     self.update_size_hints(screen)
     self._managed = True
     self._setup_done = True
Exemplo n.º 2
0
 def setup(self):
     WindowDamageHandler.setup(self)
     screen = self.client_window.get_screen()
     screen.connect("size-changed", self._screen_size_changed)
     self.update_size_hints(screen)
     self._managed = True
     self._setup_done = True
Exemplo n.º 3
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()
Exemplo n.º 4
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)
Exemplo n.º 5
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
Exemplo n.º 6
0
 def unmanage(self, exiting=False):
     WindowDamageHandler.destroy(self)
     WindowModelStub.unmanage(self, exiting)
     self._managed = False
Exemplo n.º 7
0
 def __init__(self, root):
     WindowDamageHandler.__init__(self, root)
     WindowModelStub.__init__(self)
Exemplo n.º 8
0
 def invalidate_pixmap(self):
     lt = self._listening_to
     if lt:
         self._listening_to = None
         self._cleanup_listening(lt)
     WindowDamageHandler.invalidate_pixmap(self)
Exemplo n.º 9
0
 def __init__(self, window):
     WindowDamageHandler.__init__(self, window)
     AutoPropGObjectMixin.__init__(self)
     gobject.GObject.__init__(self)
     self._listening_to = None
Exemplo n.º 10
0
 def invalidate_pixmap(self):
     lt = self._listening_to
     if lt:
         self._listening_to = None
         self._cleanup_listening(lt)
     WindowDamageHandler.invalidate_pixmap(self)
Exemplo n.º 11
0
 def do_destroy(self, window):
     trap.swallow_synced(X11Window.XCompositeUnredirectWindow, window.xid)
     WindowDamageHandler.do_destroy(self, window)
Exemplo n.º 12
0
 def setup(self):
     X11Window.XCompositeRedirectWindow(self.client_window.xid)
     WindowDamageHandler.setup(self)
Exemplo n.º 13
0
 def __init__(self, window):
     WindowDamageHandler.__init__(self, window)
     AutoPropGObjectMixin.__init__(self)
     gobject.GObject.__init__(self)
     self._listening_to = None
Exemplo n.º 14
0
 def __init__(self, root):
     WindowDamageHandler.__init__(self, root)
     WindowModelStub.__init__(self)
     self.mapped_at = None
Exemplo n.º 15
0
 def setup(self):
     X11Window.XCompositeRedirectWindow(self.client_window.xid)
     WindowDamageHandler.setup(self)
Exemplo n.º 16
0
 def __init__(self, root):
     WindowDamageHandler.__init__(self, root)
     WindowModelStub.__init__(self)
Exemplo n.º 17
0
 def do_destroy(self, window):
     trap.swallow_synced(X11Window.XCompositeUnredirectWindow, window.xid)
     WindowDamageHandler.do_destroy(self, window)
Exemplo n.º 18
0
 def unmanage(self, exiting=False):
     WindowDamageHandler.destroy(self)
     WindowModelStub.unmanage(self, exiting)
     self._managed = False
Exemplo n.º 19
0
 def __init__(self, root):
     WindowDamageHandler.__init__(self, root)
     WindowModelStub.__init__(self)
     self.resize_timer = None
     self.resize_value = None