Пример #1
0
 def make_hello(self, source):
     capabilities = X11ServerBase.make_hello(self, source)
     if source.wants_features:
         capabilities["window.raise"] = True
         capabilities["window.resize-counter"] = True
         capabilities["window.configure.skip-geometry"] = True
         capabilities["pointer.grabs"] = True
     return capabilities
Пример #2
0
 def make_hello(self, source):
     capabilities = X11ServerBase.make_hello(self, source)
     if source.wants_features:
         capabilities["window.raise"] = True
         capabilities["window.resize-counter"] = True
         capabilities["window.configure.skip-geometry"] = True
         capabilities["pointer.grabs"] = True
     return capabilities
Пример #3
0
 def make_hello(self, source):
     capabilities = X11ServerBase.make_hello(self, source)
     if source.wants_features:
         capabilities.update({
                              "pointer.grabs"    : True,
                              "desktop"          : True,
                              })
         updict(capabilities, "window", {
             "decorations"            : True,
             "resize-counter"         : True,
             "configure.skip-geometry": True,
             "configure.pointer"      : True,
             })
     return capabilities
Пример #4
0
 def make_hello(self, source):
     capabilities = X11ServerBase.make_hello(self, source)
     if source.wants_features:
         capabilities.update({
                              "pointer.grabs"    : True,
                              "desktop"          : True,
                              })
         updict(capabilities, "window", {
             "decorations"            : True,
             "resize-counter"         : True,
             "configure.skip-geometry": True,
             "configure.pointer"      : True,
             })
     return capabilities
Пример #5
0
 def make_hello(self, source):
     capabilities = X11ServerBase.make_hello(self, source)
     if source.wants_features:
         capabilities.update({
             "pointer.grabs": True,
             "desktop": True,
         })
         updict(
             capabilities, "window", {
                 "decorations": True,
                 "resize-counter": True,
                 "configure.skip-geometry": True,
                 "configure.pointer": True,
                 "states": ["iconified", "focused"],
             })
         capabilities["screen_sizes"] = get_screen_sizes()
     return capabilities
Пример #6
0
 def make_hello(self):
     capabilities = X11ServerBase.make_hello(self)
     capabilities["window.raise"] = True
     capabilities["pointer.grabs"] = True
     return capabilities
Пример #7
0
 def make_hello(self, source):
     capabilities = X11ServerBase.make_hello(self, source)
     capabilities.update(GTKShadowServerBase.make_hello(self, source))
     capabilities["server_type"] = "Python/gtk2/x11-shadow"
     return capabilities
Пример #8
0
 def make_hello(self, source):
     capabilities = X11ServerBase.make_hello(self, source)
     capabilities.update(GTKShadowServerBase.make_hello(self, source))
     capabilities["server_type"] = "Python/gtk2/x11-shadow"
     return capabilities
Пример #9
0
 def make_hello(self):
     capabilities = X11ServerBase.make_hello(self)
     capabilities["shadow"] = True
     capabilities["server_type"] = "Python/gtk2/x11-shadow"
     return capabilities
Пример #10
0
 def make_hello(self):
     capabilities = X11ServerBase.make_hello(self)
     capabilities["shadow"] = True
     capabilities["server_type"] = "Python/gtk2/x11-shadow"
     return capabilities