aboutsummaryrefslogtreecommitdiff
path: root/libLumina/LuminaX11.h
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-06-20 10:51:28 -0400
committerKen Moore <ken@pcbsd.org>2015-06-20 10:51:28 -0400
commit4928230485cbd3bfc42a4596f935c9963671eef2 (patch)
treee0e1d9f49070ad887a08df8d6028d28d4c2d47a8 /libLumina/LuminaX11.h
parentClean up the desktop plugin/container interactions quite a bit to ensure cons... (diff)
downloadlumina-4928230485cbd3bfc42a4596f935c9963671eef2.tar.gz
lumina-4928230485cbd3bfc42a4596f935c9963671eef2.tar.bz2
lumina-4928230485cbd3bfc42a4596f935c9963671eef2.zip
Add a new function to luminaX11: WindowFrameGeometry() - returns the sizes of the frame on each side of the given window.
Diffstat (limited to 'libLumina/LuminaX11.h')
-rw-r--r--libLumina/LuminaX11.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libLumina/LuminaX11.h b/libLumina/LuminaX11.h
index 0a950d63..468045d1 100644
--- a/libLumina/LuminaX11.h
+++ b/libLumina/LuminaX11.h
@@ -131,7 +131,8 @@ public:
//Window Information
QString WindowClass(WId);
unsigned int WindowWorkspace(WId); //The workspace the window is on
- QRect WindowGeometry(WId, bool includeFrame = true); //the geometry of the window (frame excluded)
+ QRect WindowGeometry(WId win, bool includeFrame = true); //the geometry of the window (frame excluded)
+ QList<int> WindowFrameGeometry(WId win); //Returns: [top,bottom,left,right] sizes of the frame
WINDOWSTATE WindowState(WId win); //Visible state of window
QString WindowVisibleIconName(WId win); //_NET_WM_VISIBLE_ICON_NAME
QString WindowIconName(WId win); //_NET_WM_ICON_NAME
bgstack15