aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/NativeWindow.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-06-28 17:18:57 -0400
committerKen Moore <ken@ixsystems.com>2017-06-28 17:18:57 -0400
commit431e837ead4e8fd7f7aef6b7d198dac50156c2b2 (patch)
tree330da47111e0a97be6df9ec77d7293327c7c8d0a /src-qt5/core/libLumina/NativeWindow.h
parentWork on making a new NativeWindow property "RelatedWindows" which is a specia... (diff)
downloadlumina-431e837ead4e8fd7f7aef6b7d198dac50156c2b2.tar.gz
lumina-431e837ead4e8fd7f7aef6b7d198dac50156c2b2.tar.bz2
lumina-431e837ead4e8fd7f7aef6b7d198dac50156c2b2.zip
Get a lot more of the Lumina2 window-management functionality working.
Diffstat (limited to 'src-qt5/core/libLumina/NativeWindow.h')
-rw-r--r--src-qt5/core/libLumina/NativeWindow.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src-qt5/core/libLumina/NativeWindow.h b/src-qt5/core/libLumina/NativeWindow.h
index e6e90825..a1cb7c1a 100644
--- a/src-qt5/core/libLumina/NativeWindow.h
+++ b/src-qt5/core/libLumina/NativeWindow.h
@@ -29,7 +29,7 @@ public:
enum Action {A_MOVE, A_RESIZE, A_MINIMIZE, A_SHADE, A_STICK, A_MAX_VERT, A_MAX_HORZ, A_FULLSCREEN, A_CHANGE_DESKTOP, A_CLOSE, A_ABOVE, A_BELOW};
enum Property{ /*QVariant Type*/
- None, /*null*/
+ None=0, /*null*/
MinSize, /*QSize*/
MaxSize, /*QSize*/
Size, /*QSize*/
@@ -79,7 +79,7 @@ public slots:
private:
QHash <NativeWindow::Property, QVariant> hash;
QWindow *WIN;
- WId winid;
+ WId winid, frameid;
QList<WId> relatedTo;
signals:
@@ -92,9 +92,9 @@ signals:
//Action Requests (not automatically emitted - typically used to ask the WM to do something)
//Note: "WId" should be the NativeWindow id()
void RequestClose(WId); //Close the window
- void RequestKill(WId); //Kill the window/app (usually from being unresponsive)
+ void RequestKill(WId); //Kill the window/app (usually from being unresponsive)
void RequestPing(WId); //Verify that the window is still active (such as not closing after a request
-
+ void RequestReparent(WId, WId, QPoint); //client window, frame window, relative origin point in frame
// System Tray Icon Embed/Unembed Requests
//void RequestEmbed(WId, QWidget*);
//void RequestUnEmbed(WId, QWidget*);
bgstack15