diff options
Diffstat (limited to 'libLumina/LuminaX11.h')
-rw-r--r-- | libLumina/LuminaX11.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libLumina/LuminaX11.h b/libLumina/LuminaX11.h index df32cc1c..4c2ada21 100644 --- a/libLumina/LuminaX11.h +++ b/libLumina/LuminaX11.h @@ -110,13 +110,12 @@ public: //XCB Library replacement for LX11 (Qt5 uses XCB instead of XLib) class LXCB{ - -private: - xcb_ewmh_connection_t EWMH; - + public: enum WINDOWSTATE {VISIBLE, INVISIBLE, ACTIVE, ATTENTION, IGNORE}; + xcb_ewmh_connection_t EWMH; //This is where all the screen info and atoms are located + LXCB(); ~LXCB(); @@ -137,13 +136,14 @@ public: QString WindowIconName(WId win); //_WM_ICON_NAME QString WindowVisibleName(WId win); //_WM_VISIBLE_NAME QString WindowName(WId win); //_WM_NAME + bool WindowIsMaximized(WId win); //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 MaximizeWindow(WId win, bool flagsonly = false); //request that the window become maximized void MoveResizeWindow(WId win, QRect geom); }; |