diff options
author | Ken Moore <ken@pcbsd.org> | 2015-01-01 10:18:35 -0500 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-01-01 10:18:35 -0500 |
commit | 64c9ecca216ce03287908c510a7af3adff112832 (patch) | |
tree | ebfdb821a450121a8ebd9352b2c57ce0cdd3d0ef /libLumina/LuminaX11.h | |
parent | Make sure that any argv[] -> QString translations from CLI input are run thro... (diff) | |
download | lumina-64c9ecca216ce03287908c510a7af3adff112832.tar.gz lumina-64c9ecca216ce03287908c510a7af3adff112832.tar.bz2 lumina-64c9ecca216ce03287908c510a7af3adff112832.zip |
Large update of XLib -> XCB usage
1) Add ability for task manager to minimize/maximize window from details menu
2) Add quick check/movement of new windows to make sure they are not underneath any panels
Diffstat (limited to 'libLumina/LuminaX11.h')
-rw-r--r-- | libLumina/LuminaX11.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libLumina/LuminaX11.h b/libLumina/LuminaX11.h index 6e229729..df32cc1c 100644 --- a/libLumina/LuminaX11.h +++ b/libLumina/LuminaX11.h @@ -126,11 +126,12 @@ public: unsigned int CurrentWorkspace(); //Session Modification - + void RegisterVirtualRoots(QList<WId> roots); //Window Information QString WindowClass(WId); - unsigned int WindowWorkspace(WId); + unsigned int WindowWorkspace(WId); //The workspace the window is on + QRect WindowGeometry(WId, bool includeFrame = true); //the geometry of the window (frame excluded) WINDOWSTATE WindowState(WId win); //Visible state of window QString WindowVisibleIconName(WId win); //_WM_VISIBLE_ICON_NAME QString WindowIconName(WId win); //_WM_ICON_NAME @@ -140,6 +141,10 @@ public: //Window Modification void SetAsSticky(WId); //Stick to all workspaces void CloseWindow(WId); //request that the window be closed + void MinimizeWindow(WId); //request that the window be unmapped/minimized + void ActivateWindow(WId); //request that the window become active + void MaximizeWindow(WId); //request that the window become maximized + void MoveResizeWindow(WId win, QRect geom); }; |