Ejemplo n.º 1
0
 def __init__(self):
     gobject.GObject.__init__(self)
     RFBServer.__init__(self)
     X11ServerBase.__init__(self)
     self.session_type = "desktop"
     self.resize_timer = None
     self.resize_value = None
Ejemplo n.º 2
0
 def init(self, opts):
     X11ServerBase.init(self, opts)
     RFBServer.init(self)
     if not parse_bool("rfb-upgrade", opts.rfb_upgrade):
         self._rfb_upgrade = 0
     else:
         self._rfb_upgrade = parse_number(int, "rfb-upgrade",
                                          opts.rfb_upgrade, 0)
Ejemplo n.º 3
0
 def __init__(self, root_window):
     self.root = root_window
     self.root_window_model = None
     self.mapped = False
     self.pulseaudio = False
     self.sharing = True
     self.refresh_delay = REFRESH_DELAY
     self.timer = None
     DamageBatchConfig.ALWAYS = True  #always batch
     DamageBatchConfig.MIN_DELAY = 50  #never lower than 50ms
     RFBServer.init(self)
Ejemplo n.º 4
0
 def __init__(self, root_window, capture=None):
     RFBServer.__init__(self)
     self.capture = capture
     self.root = root_window
     self.mapped = False
     self.pulseaudio = False
     self.sharing = True
     self.refresh_delay = REFRESH_DELAY
     self.refresh_timer = None
     self.notifications = False
     self.notifier = None
     self.pointer_last_position = None
     self.pointer_poll_timer = None
     self.last_cursor_data = None
     DamageBatchConfig.ALWAYS = True  #always batch
     DamageBatchConfig.MIN_DELAY = 50  #never lower than 50ms
Ejemplo n.º 5
0
 def init(self, opts):
     X11ServerBase.init(self, opts)
     RFBServer.init(self)
     self._rfb_upgrade = int(opts.rfb_upgrade)