diff options
author | Ken Moore <ken@ixsystems.com> | 2017-08-30 15:39:33 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-08-30 15:39:33 -0400 |
commit | a997d4422f42e371b24fef652c2f80469b3fb74c (patch) | |
tree | 8a9f9915e963bc7bb942ac8fb35b12d7a705bb6f | |
parent | Merge branch 'master' of github.com:trueos/lumina (diff) | |
download | lumina-a997d4422f42e371b24fef652c2f80469b3fb74c.tar.gz lumina-a997d4422f42e371b24fef652c2f80469b3fb74c.tar.bz2 lumina-a997d4422f42e371b24fef652c2f80469b3fb74c.zip |
A couple more minor tweaks.
-rw-r--r-- | src-qt5/core/libLumina/RootWindow.cpp | 2 | ||||
-rw-r--r-- | src-qt5/core/lumina-desktop-unified/LSession.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src-qt5/core/libLumina/RootWindow.cpp b/src-qt5/core/libLumina/RootWindow.cpp index 51e7b1f0..2ec33097 100644 --- a/src-qt5/core/libLumina/RootWindow.cpp +++ b/src-qt5/core/libLumina/RootWindow.cpp @@ -218,7 +218,7 @@ void RootWindow::checkMouseFocus(){ if(DesktopSettings::instance()->value(DesktopSettings::WM, "focusFollowsMouse", true).toBool()){ lastActiveMouse->giveKeyboardFocus(); - if(DesktopSettings::instance()->value(DesktopSettings::WM, "raiseOnFocus", true).toBool()){ + if(DesktopSettings::instance()->value(DesktopSettings::WM, "raiseOnFocus", false).toBool()){ lastActiveMouse->raise(); } } diff --git a/src-qt5/core/lumina-desktop-unified/LSession.cpp b/src-qt5/core/lumina-desktop-unified/LSession.cpp index e1a941f0..05575b27 100644 --- a/src-qt5/core/lumina-desktop-unified/LSession.cpp +++ b/src-qt5/core/lumina-desktop-unified/LSession.cpp @@ -228,6 +228,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)) ); + connect(Lumina::ROOTWIN, SIGNAL(MouseMoved()), Lumina::SS, SLOT(newInputEvent()) ); //Native Window Class connections connect(Lumina::NEF, SIGNAL(WindowCreated(WId)), Lumina::NWS, SLOT(NewWindowDetected(WId))); |