mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:27:35 +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
|
@ -343,6 +343,10 @@ public:
|
|||
|
||||
RefPtr<KeymapSwitcher> keymap_switcher() { return m_keymap_switcher; }
|
||||
|
||||
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; }
|
||||
|
||||
private:
|
||||
explicit WindowManager(Gfx::PaletteImpl const&);
|
||||
|
||||
|
@ -448,6 +452,7 @@ private:
|
|||
WeakPtr<Window> m_hovered_window;
|
||||
WeakPtr<Window> m_highlight_window;
|
||||
WeakPtr<Window> m_window_with_active_menu;
|
||||
WeakPtr<Window> m_automatic_cursor_tracking_window;
|
||||
|
||||
OwnPtr<WindowGeometryOverlay> m_geometry_overlay;
|
||||
WeakPtr<Window> m_move_window;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue