aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop-unified/LSession.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-01-10 11:30:42 -0500
committerKen Moore <ken@ixsystems.com>2017-01-10 11:30:42 -0500
commit3da4b900fdc3be3b6a86ec18dbf89bd96269540a (patch)
tree003fb83920c8b1dcba2501debcee2f0274ab6c79 /src-qt5/core/lumina-desktop-unified/LSession.cpp
parentTranslated using Weblate (l_TERMINAL@cs (generated)) (diff)
downloadlumina-3da4b900fdc3be3b6a86ec18dbf89bd96269540a.tar.gz
lumina-3da4b900fdc3be3b6a86ec18dbf89bd96269540a.tar.bz2
lumina-3da4b900fdc3be3b6a86ec18dbf89bd96269540a.zip
More setup for Lumina2:
1) Make a new "DesktopSettings" class in libLumina for managing desktop settings files. This class understands/uses a hierarchy of files (User Overrides > System Overrides > Default Settings) and layers them as needed for the session. 2) Cleanup the new source tree a lot more, and get it *mostly* compiling (mostly just the backend classes right now - none of the desktop/WM classes yet).
Diffstat (limited to 'src-qt5/core/lumina-desktop-unified/LSession.cpp')
-rw-r--r--src-qt5/core/lumina-desktop-unified/LSession.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src-qt5/core/lumina-desktop-unified/LSession.cpp b/src-qt5/core/lumina-desktop-unified/LSession.cpp
index a8839cee..2f6e371a 100644
--- a/src-qt5/core/lumina-desktop-unified/LSession.cpp
+++ b/src-qt5/core/lumina-desktop-unified/LSession.cpp
@@ -16,10 +16,9 @@
LSession::LSession(int &argc, char ** argv) : LSingleApplication(argc, argv, "lumina-desktop"){
//Initialize the global objects to null pointers
mediaObj = 0; //private object used for playing login/logout chimes
- Lumina::SYSTEM = 0;
Lumina::EFILTER = 0;
Lumina::SS = 0;
- Lumina::WM = 0;
+ //Lumina::WM = 0;
Lumina::EVThread = 0;
if(this->isPrimaryProcess()){
@@ -36,10 +35,9 @@ LSession::LSession(int &argc, char ** argv) : LSingleApplication(argc, argv, "lu
//this->setAttribute(Qt::AA_UseHighDpiPixmaps); //allow pixmaps to be scaled up as well as down
//Now initialize the global objects (but do not start them yet)
- Lumina::SYSTEM = new LXCB(); //need access to XCB data/functions right away
Lumina::EFILTER = new EventFilter(); //Need the XCB Event filter
Lumina::SS = new LScreenSaver();
- Lumina::WM = new LWindowManager();
+ //Lumina::WM = new LWindowManager();
//Now put the Event Filter into it's own thread to keep things snappy
Lumina::EVThread = new QThread();
Lumina::EFILTER->moveToThread(Lumina::EVThread);
@@ -50,7 +48,7 @@ LSession::LSession(int &argc, char ** argv) : LSingleApplication(argc, argv, "lu
LSession::~LSession(){
//Clean up the global objects as needed
- if(Lumina::SYSTEM!=0){ Lumina::SYSTEM->deleteLater(); }
+
}
bgstack15