mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:37:34 +00:00
WindowServer: Change window geometry label to use the Overlay class
This enables flicker-free rendering.
This commit is contained in:
parent
8b26debda1
commit
84cab29c59
7 changed files with 93 additions and 50 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue