Bugfixes and improvements

This commit is contained in:
2016-12-26 21:06:30 +01:00
parent f9c2f8f543
commit 8c2d752780
2 changed files with 29 additions and 2 deletions

View File

@ -6,6 +6,11 @@ use NoccyLabs\X11\WindowSelector;
$selector = new WindowSelector();
// Select window
printf("Click a window to select it...\n");
$window = $selector->select();
$window->dump();
// Grow the window by 10 pixels
$size = $window->getWindowSize();
$window->setWindowSize($size->width + 10, $size->height + 10);