aboutsummaryrefslogtreecommitdiff
path: root/libLumina/LuminaX11.h
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-01-05 07:54:31 -0500
committerKen Moore <ken@pcbsd.org>2015-01-05 07:54:31 -0500
commit3004b0d22caf1985d5e9b60c7647293f10f5690a (patch)
tree9546d3788cd894cc40ced6575ab07d549a5750ff /libLumina/LuminaX11.h
parentAdd support for the LIBPREFIX qmake variable for all the project files. This ... (diff)
downloadlumina-3004b0d22caf1985d5e9b60c7647293f10f5690a.tar.gz
lumina-3004b0d22caf1985d5e9b60c7647293f10f5690a.tar.bz2
lumina-3004b0d22caf1985d5e9b60c7647293f10f5690a.zip
Quick checkpoint of additional XCB improvements/fixes. Still having an issue with fluxbox maximizing windows underneath panels at the moment.
Diffstat (limited to 'libLumina/LuminaX11.h')
-rw-r--r--libLumina/LuminaX11.h10
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);
};
bgstack15