WindowServer: Implement window resizing
windows can now set resizable attribute which allows window server to resize them
This commit is contained in:
@@ -50,6 +50,7 @@ public:
|
||||
void sync();
|
||||
|
||||
Rectangle cursor_area() const;
|
||||
Rectangle resize_area(Position cursor) const;
|
||||
|
||||
void add_client_fd(int fd);
|
||||
void remove_client_fd(int fd);
|
||||
@@ -87,6 +88,9 @@ private:
|
||||
BAN::RefPtr<Window> m_focused_window;
|
||||
Position m_cursor;
|
||||
|
||||
bool m_is_resizing_window { false };
|
||||
Position m_resize_start;
|
||||
|
||||
bool m_is_mouse_captured { false };
|
||||
|
||||
bool m_deleted_window { false };
|
||||
|
||||
Reference in New Issue
Block a user