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._depth = X11Window.get_depth(self.client_window.get_xid()) self._managed = True self._setup_done = True
def setup(self): X11Window.XCompositeRedirectWindow(self.xid) WindowDamageHandler.setup(self)