diff options
author | Ken Moore <ken@ixsystems.com> | 2017-08-30 07:04:44 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-08-30 07:04:44 -0400 |
commit | eff681c9e56f6044852779b61fbe701e623f2f3a (patch) | |
tree | f4e9791695eb720abac9d49686b3659ed528bdb7 /src-qt5/core/libLumina/RootSubWindow.h | |
parent | Clean up the use of the settings files within the entire screensaver system. (diff) | |
download | lumina-eff681c9e56f6044852779b61fbe701e623f2f3a.tar.gz lumina-eff681c9e56f6044852779b61fbe701e623f2f3a.tar.bz2 lumina-eff681c9e56f6044852779b61fbe701e623f2f3a.zip |
Finish up all the mouse focus handling for embedded windows. Works beautifully now.
Diffstat (limited to 'src-qt5/core/libLumina/RootSubWindow.h')
-rw-r--r-- | src-qt5/core/libLumina/RootSubWindow.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src-qt5/core/libLumina/RootSubWindow.h b/src-qt5/core/libLumina/RootSubWindow.h index 0af77009..d8b8fd33 100644 --- a/src-qt5/core/libLumina/RootSubWindow.h +++ b/src-qt5/core/libLumina/RootSubWindow.h @@ -65,6 +65,9 @@ private: static QStringList validAnimations(NativeWindow::Property); public slots: + void giveMouseFocus(){ WinWidget->raiseWindow(); } + void removeMouseFocus(){ WinWidget->lowerWindow(); } + void clientClosed(); void LoadAllProperties(); @@ -91,8 +94,8 @@ protected: void mousePressEvent(QMouseEvent*); void mouseMoveEvent(QMouseEvent*); void mouseReleaseEvent(QMouseEvent*); - void leaveEvent(QEvent *ev); - + //void leaveEvent(QEvent *ev); + //void enterEvent(QEvent *ev); void moveEvent(QMoveEvent *ev); |