diff options
author | Ken Moore <ken@pcbsd.org> | 2015-06-20 10:51:28 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-06-20 10:51:28 -0400 |
commit | 4928230485cbd3bfc42a4596f935c9963671eef2 (patch) | |
tree | e0e1d9f49070ad887a08df8d6028d28d4c2d47a8 /libLumina/LuminaX11.h | |
parent | Clean up the desktop plugin/container interactions quite a bit to ensure cons... (diff) | |
download | lumina-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.h | 3 |
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 |