diff options
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())); } }; |