Added windowMinmize() and windowRestore()

This commit is contained in:
Chris 2016-12-27 01:34:47 +01:00
parent 569a135445
commit 2c929cd7f7
1 changed files with 10 additions and 0 deletions

View File

@ -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();