3 Commits
0.1.1 ... 0.1.2

Author SHA1 Message Date
061af6f928 Fixed windowRestore() 2017-01-09 02:40:12 +01:00
01992d7697 Bugfix 2016-12-27 01:39:12 +01:00
2c929cd7f7 Added windowMinmize() and windowRestore() 2016-12-27 01:34:47 +01:00

View File

@ -116,6 +116,18 @@ class Window
return $this; return $this;
} }
public function windowMinimize()
{
exec("xdotool windowminimize {$this->windowId}");
return $this;
}
public function windowRestore()
{
exec("xdotool windowmap {$this->windowId} windowraise {$this->windowId}");
return $this;
}
public function dump() public function dump()
{ {
$size = $this->getWindowSize(); $size = $this->getWindowSize();