summaryrefslogtreecommitdiff
path: root/Widgets/Window.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-01-16 16:03:50 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-01-16 16:03:50 +0100
commitf7ca6d254d452e3524aaeaa1334ac041be3a1279 (patch)
tree165f54aa32eafbfd79003eb686770370f585c14d /Widgets/Window.h
parente655aebd70bb7d248c2f7be4a12d695ceec707a5 (diff)
downloadserenity-f7ca6d254d452e3524aaeaa1334ac041be3a1279.zip
Tear out or duplicate what's unique for WindowServer from Widgets.
This turned into a huge refactoring that somehow also includes making locks recursive/reentrant.
Diffstat (limited to 'Widgets/Window.h')
-rw-r--r--Widgets/Window.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Widgets/Window.h b/Widgets/Window.h
index 3da05c3c97..1bbe354eb1 100644
--- a/Widgets/Window.h
+++ b/Widgets/Window.h
@@ -28,7 +28,6 @@ public:
void set_rect_without_repaint(const Rect& rect) { m_rect = rect; }
Point position() const { return m_rect.location(); }
- void set_position(const Point& position) { set_rect({ position.x(), position.y(), width(), height() }); }
void set_position_without_repaint(const Point& position) { set_rect_without_repaint({ position.x(), position.y(), width(), height() }); }
virtual void event(Event&) override;