Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
061af6f928 | |||
01992d7697 | |||
2c929cd7f7 |
@ -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();
|
||||||
|
Reference in New Issue
Block a user