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