add widow
This commit is contained in:
parent
c1e09f0e58
commit
35cd391e6c
@ -83,6 +83,10 @@ class cursorManager():
|
|||||||
pass
|
pass
|
||||||
return False
|
return False
|
||||||
def setWindowForApplication(self, start = None, end = None):
|
def setWindowForApplication(self, start = None, end = None):
|
||||||
|
x1 = 0
|
||||||
|
x2 = 0
|
||||||
|
y1 = 0
|
||||||
|
y2 = 0
|
||||||
if start == None:
|
if start == None:
|
||||||
if not self.env['commandBuffer']['Marks']['1']:
|
if not self.env['commandBuffer']['Marks']['1']:
|
||||||
return False
|
return False
|
||||||
|
@ -154,14 +154,13 @@ class remoteManager():
|
|||||||
windowList = windowText.split(' ')
|
windowList = windowText.split(' ')
|
||||||
if len(windowList) < 4:
|
if len(windowList) < 4:
|
||||||
return
|
return
|
||||||
print(windowList)
|
|
||||||
start['x'] = int(windowList[0])
|
start['x'] = int(windowList[0])
|
||||||
start['y'] = int(windowList[1])
|
start['y'] = int(windowList[1])
|
||||||
end['x'] = int(windowList[2])
|
end['x'] = int(windowList[2])
|
||||||
end['y'] = int(windowList[3])
|
end['y'] = int(windowList[3])
|
||||||
|
|
||||||
self.env['runtime']['cursorManager'].setWindowForApplication(start, end)
|
self.env['runtime']['cursorManager'].setWindowForApplication(start, end)
|
||||||
except:
|
except Exception as e:
|
||||||
pass
|
pass
|
||||||
def resetWindow(self):
|
def resetWindow(self):
|
||||||
self.env['runtime']['cursorManager'].clearWindowForApplication()
|
self.env['runtime']['cursorManager'].clearWindowForApplication()
|
||||||
|
Loading…
Reference in New Issue
Block a user