diff options
author | Ken Moore <moorekou@gmail.com> | 2015-12-01 10:53:23 -0500 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-12-01 10:53:23 -0500 |
commit | 0365f5b0e1b0cccfd158297aa746190be4479e0c (patch) | |
tree | bf9bd9349035f54304183a7320e1d62b5486d168 /lumina-desktop/LSession.h | |
parent | Add the ability to change monitor resolutions in lumina-xconfig. (diff) | |
download | lumina-0365f5b0e1b0cccfd158297aa746190be4479e0c.tar.gz lumina-0365f5b0e1b0cccfd158297aa746190be4479e0c.tar.bz2 lumina-0365f5b0e1b0cccfd158297aa746190be4479e0c.zip |
Adjust the main lumina-desktop session a bit:
1) Make it a single-instance process
2) Add a "--check-geoms" input flag which will have the desktop re-scan all monitor geometries and adjust as needed.
3) Adjust the monitor re-detection/adjustment routines a bit to ensure consisten functionality.
Diffstat (limited to 'lumina-desktop/LSession.h')
-rw-r--r-- | lumina-desktop/LSession.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lumina-desktop/LSession.h b/lumina-desktop/LSession.h index 8147e411..ae217bd8 100644 --- a/lumina-desktop/LSession.h +++ b/lumina-desktop/LSession.h @@ -31,6 +31,7 @@ //#include "BootSplash.h" #include <LuminaX11.h> +#include <LuminaSingleApplication.h> //SYSTEM TRAY STANDARD DEFINITIONS #define SYSTEM_TRAY_REQUEST_DOCK 0 @@ -45,7 +46,7 @@ public: } };*/ -class LSession : public QApplication{ +class LSession : public LSingleApplication{ Q_OBJECT public: LSession(int &argc, char **argv); @@ -138,6 +139,7 @@ public slots: void reloadIconTheme(); private slots: + void NewCommunication(QStringList); void launchStartupApps(); //used during initialization void watcherChange(QString); void screensChanged(); |