mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:37:34 +00:00
WindowServer: Move "automatic cursor tracking window" to WindowManager
It didn't make sense for this to be a per-WindowStack concept, since automatic cursor tracking is globally modal.
This commit is contained in:
parent
add4f42d21
commit
296e68fdbf
4 changed files with 17 additions and 22 deletions
|
@ -60,10 +60,6 @@ public:
|
|||
Window const* active_input_window() const { return m_active_input_window; }
|
||||
void set_active_input_window(Window* window) { m_active_input_window = window; }
|
||||
|
||||
Window* automatic_cursor_tracking_window() { return m_automatic_cursor_tracking_window; }
|
||||
Window const* automatic_cursor_tracking_window() const { return m_automatic_cursor_tracking_window; }
|
||||
void set_automatic_cursor_tracking_window(Window* window) { m_automatic_cursor_tracking_window = window; }
|
||||
|
||||
Optional<HitTestResult> hit_test(Gfx::IntPoint const&) const;
|
||||
|
||||
unsigned row() const { return m_row; }
|
||||
|
@ -84,7 +80,6 @@ public:
|
|||
private:
|
||||
WeakPtr<Window> m_active_window;
|
||||
WeakPtr<Window> m_active_input_window;
|
||||
WeakPtr<Window> m_automatic_cursor_tracking_window;
|
||||
|
||||
Window::List m_windows;
|
||||
unsigned m_row { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue