add fastpath to be compatible with rdp 8.0

This commit is contained in:
speyrefitte
2014-07-11 18:18:16 +02:00
parent d6c85c382d
commit c09e466f48
9 changed files with 348 additions and 197 deletions

View File

@@ -40,7 +40,8 @@ class RDPClientQtFactory(rdp.ClientFactory):
"""
init client with correct definition
"""
rdp.ClientFactory.__init__(self, width, height)
self._width = width
self._height = height
self._w = None
def buildObserver(self, controller):
@@ -56,8 +57,10 @@ class RDPClientQtFactory(rdp.ClientFactory):
self._w.setWindowTitle('rdpy-rdpclient')
self._w.show()
#enable perf
controller.enablePerformanceSession()
#resize session
controller.setScreen(self._width, self._height)
controller.setPerformanceSession()
return client
def startedConnecting(self, connector):