1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 18:17:45 +00:00

Very hacky support for dragging a window around.

This commit is contained in:
Andreas Kling 2018-10-12 02:24:05 +02:00
parent 22721e6729
commit 64127e0637
7 changed files with 80 additions and 14 deletions

View file

@ -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;
};