Added windowMinmize() and windowRestore()
This commit is contained in:
parent
569a135445
commit
2c929cd7f7
@ -116,6 +116,16 @@ class Window
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function windowMinimize()
|
||||
{
|
||||
exec("xdotool windowminimize {$this->windowId}");
|
||||
}
|
||||
|
||||
public function windowRestore()
|
||||
{
|
||||
exec("xdotool windowmap {$this->windowId}");
|
||||
}
|
||||
|
||||
public function dump()
|
||||
{
|
||||
$size = $this->getWindowSize();
|
||||
|
Loading…
Reference in New Issue
Block a user