diff options
author | Ken Moore <ken@ixsystems.com> | 2017-06-27 13:18:55 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-06-27 13:18:55 -0400 |
commit | cd5553238538bb4dc62aee43a5e1a0cd9c070e68 (patch) | |
tree | 14a24c455e82f457fdca39735d41bfced44fd593 /src-qt5/core/lumina-desktop-unified/LSession.cpp | |
parent | Add a ton of the root-window registration routines to the NativeWindowSystem ... (diff) | |
download | lumina-cd5553238538bb4dc62aee43a5e1a0cd9c070e68.tar.gz lumina-cd5553238538bb4dc62aee43a5e1a0cd9c070e68.tar.bz2 lumina-cd5553238538bb4dc62aee43a5e1a0cd9c070e68.zip |
Commit a bunch more root-level session changes - should be almost ready to start testing and see if windows respond to the EWMH hints.
Diffstat (limited to 'src-qt5/core/lumina-desktop-unified/LSession.cpp')
-rw-r--r-- | src-qt5/core/lumina-desktop-unified/LSession.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-desktop-unified/LSession.cpp b/src-qt5/core/lumina-desktop-unified/LSession.cpp index 3226fa82..c0a0ac7d 100644 --- a/src-qt5/core/lumina-desktop-unified/LSession.cpp +++ b/src-qt5/core/lumina-desktop-unified/LSession.cpp @@ -147,6 +147,8 @@ void LSession::setupSession(){ Lumina::ROOTWIN->ChangeWallpaper(scrns[i]->name(), RootWindow::Stretch, LOS::LuminaShare()+"desktop-background.jpg"); } Lumina::ROOTWIN->start(); + Lumina::NWS->setRoot_numberOfWorkspaces(QStringList() << "one" << "two"); + DesktopContextMenu *cmenu = new DesktopContextMenu(Lumina::ROOTWIN); connect(cmenu, SIGNAL(showLeaveDialog()), this, SLOT(StartLogout()) ); cmenu->start(); @@ -235,6 +237,7 @@ void LSession::setupGlobalConnections(){ //Root window connections connect(Lumina::ROOTWIN, SIGNAL(RegisterVirtualRoot(WId)), Lumina::NWS, SLOT(RegisterVirtualRoot(WId)) ); + connect(Lumina::ROOTWIN, SIGNAL(RootResized(QRect)), Lumina::NWS, SLOT(setRoot_desktopGeometry(QRect)) ); //Native Window Class connections connect(Lumina::NEF, SIGNAL(WindowCreated(WId)), Lumina::NWS, SLOT(NewWindowDetected(WId))); |