aboutsummaryrefslogtreecommitdiff
path: root/libLumina/LuminaX11.h
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-07-30 18:18:11 -0400
committerKen Moore <moorekou@gmail.com>2015-07-30 18:18:11 -0400
commitd97499cae8e344af6118f38ffa1c4b183a4d30cc (patch)
tree50641f8327b8b3a2473ad357845a765db6f45aed /libLumina/LuminaX11.h
parentFinal fix for the line find/replace functionality in luminaDesktop.conf parsi... (diff)
downloadlumina-d97499cae8e344af6118f38ffa1c4b183a4d30cc.tar.gz
lumina-d97499cae8e344af6118f38ffa1c4b183a4d30cc.tar.bz2
lumina-d97499cae8e344af6118f38ffa1c4b183a4d30cc.zip
Fix up the issues with some apps which re-configure the Xsession/screens to match their own internal specifications. On single-screen setups it works fine now, but on multi-screen setups the app does not seem to return the xsettings back to their original specs properly (Tested with OpenArena and MegaMario). This may result in the screen being "flipped" or placed on different monitors after closing the app.
Diffstat (limited to 'libLumina/LuminaX11.h')
-rw-r--r--libLumina/LuminaX11.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libLumina/LuminaX11.h b/libLumina/LuminaX11.h
index d41cbca1..5a38e7fa 100644
--- a/libLumina/LuminaX11.h
+++ b/libLumina/LuminaX11.h
@@ -143,6 +143,7 @@ public:
QString OldWindowName(WId win); //WM_NAME (old standard)
QString OldWindowIconName(WId win); //WM_ICON_NAME (old standard)
bool WindowIsMaximized(WId win);
+ int WindowIsFullscreen(WId win); //Returns the screen number if the window is fullscreen (or -1)
QIcon WindowIcon(WId win); //_NET_WM_ICON
//Window Modification
bgstack15