aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/LSession.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 /lumina-desktop/LSession.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 'lumina-desktop/LSession.h')
-rw-r--r--lumina-desktop/LSession.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lumina-desktop/LSession.h b/lumina-desktop/LSession.h
index 52da2e6f..9edaf195 100644
--- a/lumina-desktop/LSession.h
+++ b/lumina-desktop/LSession.h
@@ -98,6 +98,7 @@ private:
WMProcess *WM;
QList<LDesktop*> DESKTOPS;
QFileSystemWatcher *watcher;
+ QTimer *screenTimer;
//Internal variable for global usage
AppMenu *appmenu;
@@ -134,6 +135,8 @@ public slots:
private slots:
void watcherChange(QString);
+ void screensChanged();
+ void screenResized(int);
void checkWindowGeoms();
//System Tray Functions
bgstack15