aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/NativeWindow.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-06-29 11:02:42 -0400
committerKen Moore <ken@ixsystems.com>2017-06-29 11:02:42 -0400
commitd911eba7e870937803e68562729b38173cdd5857 (patch)
tree2b01dcda8aada7a2a890678a6dacc52f9f54eb9f /src-qt5/core/libLumina/NativeWindow.h
parentMake sure the global position of a window is/can be set as needed. (diff)
downloadlumina-d911eba7e870937803e68562729b38173cdd5857.tar.gz
lumina-d911eba7e870937803e68562729b38173cdd5857.tar.bz2
lumina-d911eba7e870937803e68562729b38173cdd5857.zip
Ensure that the Global Position (and Size) properties *always* reference the embedded window.
Also make a new "geometry()" function in NativeWindow to return the full window+frame geometry.
Diffstat (limited to 'src-qt5/core/libLumina/NativeWindow.h')
-rw-r--r--src-qt5/core/libLumina/NativeWindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src-qt5/core/libLumina/NativeWindow.h b/src-qt5/core/libLumina/NativeWindow.h
index a1cb7c1a..c87ccb2d 100644
--- a/src-qt5/core/libLumina/NativeWindow.h
+++ b/src-qt5/core/libLumina/NativeWindow.h
@@ -71,6 +71,8 @@ public:
void requestProperty(NativeWindow::Property, QVariant);
void requestProperties(QList<NativeWindow::Property>, QList<QVariant>);
+ QRect geometry(); //this returns the "full" geometry of the window (window + frame)
+
public slots:
void requestClose(); //ask the app to close the window (may/not depending on activity)
void requestKill(); //ask the WM to kill the app associated with this window (harsh - only use if not responding)
bgstack15