summaryrefslogtreecommitdiff
path: root/Widgets/WindowManager.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-10-12 02:24:05 +0200
committerAndreas Kling <awesomekling@gmail.com>2018-10-12 02:24:05 +0200
commit64127e06378259515006f876440ce0ecd5fa7728 (patch)
treec444dfea758d8572a418165e70651abc620cac26 /Widgets/WindowManager.h
parent22721e6729633f507a3df6c98ab440b536b1b24a (diff)
downloadserenity-64127e06378259515006f876440ce0ecd5fa7728.zip
Very hacky support for dragging a window around.
Diffstat (limited to 'Widgets/WindowManager.h')
-rw-r--r--Widgets/WindowManager.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Widgets/WindowManager.h b/Widgets/WindowManager.h
index a4c6ce1b10..a81135f0fa 100644
--- a/Widgets/WindowManager.h
+++ b/Widgets/WindowManager.h
@@ -38,4 +38,9 @@ private:
void paintWindowFrame(Window&);
HashTable<Window*> m_windows;
Widget* m_rootWidget { nullptr };
+
+ Window* m_dragWindow { nullptr };
+ Point m_dragOrigin;
+ Point m_dragWindowOrigin;
+ Rect m_lastDragRect;
};