diff options
author | Tom <tomut@yahoo.com> | 2021-06-25 09:18:20 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-25 20:38:13 +0200 |
commit | 84cab29c59259fc2fdbcc7003ecfcd5880c95898 (patch) | |
tree | e64f0619e6006c3dd1fb54705ba132d179584337 /Userland/Services/WindowServer/WindowManager.h | |
parent | 8b26debda1e486532f068d0916512bbb198d22bb (diff) | |
download | serenity-84cab29c59259fc2fdbcc7003ecfcd5880c95898.zip |
WindowServer: Change window geometry label to use the Overlay class
This enables flicker-free rendering.
Diffstat (limited to 'Userland/Services/WindowServer/WindowManager.h')
-rw-r--r-- | Userland/Services/WindowServer/WindowManager.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/Services/WindowServer/WindowManager.h b/Userland/Services/WindowServer/WindowManager.h index cb20c8ff33..b013374892 100644 --- a/Userland/Services/WindowServer/WindowManager.h +++ b/Userland/Services/WindowServer/WindowManager.h @@ -37,6 +37,7 @@ class Window; class ClientConnection; class WindowSwitcher; class Button; +class WindowGeometryOverlay; enum class ResizeDirection { None, @@ -160,6 +161,8 @@ public: bool is_active_window_or_accessory(Window&) const; + void check_hide_geometry_overlay(Window&); + void start_window_resize(Window&, Gfx::IntPoint const&, MouseButton); void start_window_resize(Window&, MouseEvent const&); void start_window_move(Window&, MouseEvent const&); @@ -319,6 +322,7 @@ private: WeakPtr<Window> m_active_input_tracking_window; WeakPtr<Window> m_window_with_active_menu; + OwnPtr<WindowGeometryOverlay> m_geometry_overlay; WeakPtr<Window> m_move_window; Gfx::IntPoint m_move_origin; Gfx::IntPoint m_move_window_origin; |