diff options
author | Ken Moore <ken@ixsystems.com> | 2018-06-05 12:16:08 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2018-06-05 12:16:08 -0400 |
commit | 4b303bd5dfcb49c6be0e9e1607134b21de8fbf1a (patch) | |
tree | 506340fbaeebe7ad35c6a9f1e898d1377fb3b999 /src-qt5/core/lumina-desktop-unified/src-desktop/src-widgets/NativeEmbedWidget.h | |
parent | Fix up the window frame borders. (diff) | |
download | lumina-4b303bd5dfcb49c6be0e9e1607134b21de8fbf1a.tar.gz lumina-4b303bd5dfcb49c6be0e9e1607134b21de8fbf1a.tar.bz2 lumina-4b303bd5dfcb49c6be0e9e1607134b21de8fbf1a.zip |
Get the window movement working, and mouse cursor changes on mouseover working as well.
Resizing a window will crash things at the moment - still looking into that...
Diffstat (limited to 'src-qt5/core/lumina-desktop-unified/src-desktop/src-widgets/NativeEmbedWidget.h')
-rw-r--r-- | src-qt5/core/lumina-desktop-unified/src-desktop/src-widgets/NativeEmbedWidget.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-desktop-unified/src-desktop/src-widgets/NativeEmbedWidget.h b/src-qt5/core/lumina-desktop-unified/src-desktop/src-widgets/NativeEmbedWidget.h index f9cc52b7..73f4e908 100644 --- a/src-qt5/core/lumina-desktop-unified/src-desktop/src-widgets/NativeEmbedWidget.h +++ b/src-qt5/core/lumina-desktop-unified/src-desktop/src-widgets/NativeEmbedWidget.h @@ -40,9 +40,10 @@ public: ~NativeEmbedWidget(){} QWidget* widget(){ return embedW; } + QRect geometry(){ return embedW->geometry(); } public slots: - void activateWindow(){ _window->requestActivate(); } + void activateWindow(){ QTimer::singleShot(0, _window, SLOT(requestActivate())); } }; |