diff options
author | Ken Moore <ken@ixsystems.com> | 2017-06-27 13:48:55 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-06-27 13:48:55 -0400 |
commit | ee425989c2c2519d803a416aa0030e9e488bf70b (patch) | |
tree | b0a358bcaefdc1418c574e1472aa6b9b6ffb11a2 /src-qt5/core/lumina-desktop-unified/LSession.cpp | |
parent | Oops - make sure we initialize the EWMH class before using it. (diff) | |
download | lumina-ee425989c2c2519d803a416aa0030e9e488bf70b.tar.gz lumina-ee425989c2c2519d803a416aa0030e9e488bf70b.tar.bz2 lumina-ee425989c2c2519d803a416aa0030e9e488bf70b.zip |
Cleanup a bit more of the root level property setting. Now things seem to be properly getting registered for the session.
Diffstat (limited to 'src-qt5/core/lumina-desktop-unified/LSession.cpp')
-rw-r--r-- | src-qt5/core/lumina-desktop-unified/LSession.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src-qt5/core/lumina-desktop-unified/LSession.cpp b/src-qt5/core/lumina-desktop-unified/LSession.cpp index c0a0ac7d..ab117df0 100644 --- a/src-qt5/core/lumina-desktop-unified/LSession.cpp +++ b/src-qt5/core/lumina-desktop-unified/LSession.cpp @@ -17,7 +17,6 @@ //Initialize all the global objects to null pointers NativeWindowSystem* Lumina::NWS = 0; NativeEventFilter* Lumina::NEF = 0; -//EventFilter* Lumina::EFILTER = 0; LScreenSaver* Lumina::SS = 0; DesktopSettings* Lumina::SETTINGS = 0; //Lumina::WM = 0; @@ -46,10 +45,8 @@ LSession::LSession(int &argc, char ** argv) : LSingleApplication(argc, argv, "lu //Now initialize the global objects (but do not start them yet) Lumina::NEF = new NativeEventFilter(); Lumina::NWS = new NativeWindowSystem(); - //Lumina::EFILTER = new EventFilter(); //Need the XCB Event filter first Lumina::SETTINGS = new DesktopSettings(); Lumina::SS = new LScreenSaver(); - //Lumina::WM = new LWindowManager(); //Now put the Event Filter into it's own thread to keep things snappy Lumina::EVThread = new QThread(); Lumina::NEF->moveToThread(Lumina::EVThread); @@ -148,6 +145,7 @@ void LSession::setupSession(){ } Lumina::ROOTWIN->start(); Lumina::NWS->setRoot_numberOfWorkspaces(QStringList() << "one" << "two"); + Lumina::NWS->setRoot_currentWorkspace(0); DesktopContextMenu *cmenu = new DesktopContextMenu(Lumina::ROOTWIN); connect(cmenu, SIGNAL(showLeaveDialog()), this, SLOT(StartLogout()) ); |