def make_hello(self, source): capabilities = GTKServerBase.make_hello(self, source) capabilities["server_type"] = "Python/gtk/x11" if source.wants_features: capabilities.update({ "resize_screen": self.randr, "resize_exact": self.randr_exact_size, "force_ungrab": True, "keyboard.fast-switching": True, "wheel.precise": self.pointer_device.has_precise_wheel(), "touchpad-device": bool(self.touchpad_device), }) if self.randr: sizes = RandR.get_xrr_screen_sizes() if len(sizes) > 1: capabilities["screen-sizes"] = sizes if self.default_cursor_image and source.wants_default_cursor: capabilities["cursor.default"] = self.default_cursor_image return capabilities
def make_hello(self, source): capabilities = GTKServerBase.make_hello(self, source) capabilities["server_type"] = "Python/gtk/x11" if source.wants_features: capabilities["resize_screen"] = self.randr capabilities["force_ungrab"] = True return capabilities
def make_hello(self, source): capabilities = GTKServerBase.make_hello(self, source) capabilities["server_type"] = "Python/gtk/x11" if source.wants_features: capabilities["resize_screen"] = self.randr capabilities["force_ungrab"] = True return capabilities
def make_hello(self, source): capabilities = GTKServerBase.make_hello(self, source) capabilities["server_type"] = "Python/gtk/x11" if source.wants_features: capabilities.update({ "resize_screen": self.randr, "force_ungrab": True, "keyboard.fast-switching": True, }) return capabilities
def make_hello(self, source): capabilities = GTKServerBase.make_hello(self, source) capabilities["server_type"] = "Python/gtk/x11" if source.wants_features: capabilities.update({ "resize_screen" : self.randr, "force_ungrab" : True, "keyboard.fast-switching" : True, }) return capabilities
def make_hello(self, source): capabilities = GTKServerBase.make_hello(self, source) capabilities["server_type"] = "Python/gtk/x11" if source.wants_features: capabilities.update({ "resize_screen": self.randr, "force_ungrab": True, "keyboard.fast-switching": True, }) if self.randr and len(RandR.get_screen_sizes()) > 1: capabilities["screen-sizes"] = RandR.get_screen_sizes() if self.default_cursor_data and source.wants_default_cursor: capabilities["cursor.default"] = self.default_cursor_data return capabilities
def make_hello(self, source): capabilities = GTKServerBase.make_hello(self, source) capabilities["shadow"] = True capabilities["server_type"] = "Python/gtk2/osx-shadow" return capabilities
def make_hello(self): capabilities = GTKServerBase.make_hello(self) capabilities["shadow"] = True capabilities["server_type"] = "Python/gtk2/win32-shadow" return capabilities
def make_hello(self, source): caps = ShadowServerBase.make_hello(self, source) caps.update(GTKServerBase.make_hello(self, source)) if source.wants_features: caps["screen_sizes"] = get_screen_sizes() return caps
def make_hello(self, source): capabilities = GTKServerBase.make_hello(self, source) capabilities["shadow"] = True capabilities["server_type"] = "Python/gtk2/osx-shadow" return capabilities
def make_hello(self): capabilities = GTKServerBase.make_hello(self) capabilities["resize_screen"] = self.randr return capabilities
def make_hello(self): capabilities = GTKServerBase.make_hello(self) capabilities["resize_screen"] = self.randr return capabilities
def make_hello(self): capabilities = GTKServerBase.make_hello(self) capabilities["server_type"] = "Python/gtk/x11" capabilities["resize_screen"] = self.randr capabilities["force_ungrab"] = True return capabilities
def make_hello(self): capabilities = GTKServerBase.make_hello(self) capabilities["server_type"] = "Python/gtk/x11" capabilities["resize_screen"] = self.randr capabilities["force_ungrab"] = True return capabilities