aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop-unified/src-desktop/src-widgets/NativeEmbedWidget.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2018-06-05 12:16:08 -0400
committerKen Moore <ken@ixsystems.com>2018-06-05 12:16:08 -0400
commit4b303bd5dfcb49c6be0e9e1607134b21de8fbf1a (patch)
tree506340fbaeebe7ad35c6a9f1e898d1377fb3b999 /src-qt5/core/lumina-desktop-unified/src-desktop/src-widgets/NativeEmbedWidget.h
parentFix up the window frame borders. (diff)
downloadlumina-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.h3
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())); }
};
bgstack15