Release Vulpes OS Preview 26 with Gecko 161.0 and Tundra 0.2.0
This commit is contained in:
parent
3a1fba4efe
commit
e241a42d2f
1 changed files with 1305 additions and 331 deletions
|
|
@ -375,7 +375,14 @@ done(canvas.toDataURL());}).catch(e=>done({error:String(e)}));""",
|
|||
),
|
||||
)
|
||||
focus()
|
||||
subprocess.run(["xdotool", "mousemove", "240", "820", "mousedown", "1"], check=True)
|
||||
subprocess.run(["xdotool", "search", "--name", "^Vulpes", "windowraise", "windowfocus"], check=True)
|
||||
home_x, home_y = client.execute("""
|
||||
const w = Services.wm.getMostRecentWindow('vulpes:host');
|
||||
const r = w.document.getElementById('home').getBoundingClientRect();
|
||||
return [Math.round(w.mozInnerScreenX+r.x+r.width/2),
|
||||
Math.round(w.mozInnerScreenY+r.y+r.height/2)];
|
||||
""")
|
||||
subprocess.run(["xdotool", "mousemove", str(home_x), str(home_y), "mousedown", "1"], check=True)
|
||||
time.sleep(0.85)
|
||||
subprocess.run(["xdotool", "mouseup", "1"], check=True)
|
||||
check(
|
||||
|
|
|
|||
Loading…
Reference in a new issue