mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:27:35 +00:00
WindowServer+LibGUI: Shrink window edge resize hot-spots
The hot-spots for resizing a window by dragging its corner are now limited to a small area around the actual corner instead of an area with 1/3rd the length or width of the window. The hot-spots to resize a window while holding a modifier key and the right mouse button are unchanged.
This commit is contained in:
parent
eb9db167da
commit
8202beeb2b
15 changed files with 107 additions and 62 deletions
|
@ -80,7 +80,7 @@ endpoint WindowServer
|
|||
|
||||
get_applet_rect_on_screen(i32 window_id) => (Gfx::IntRect rect)
|
||||
|
||||
start_window_resize(i32 window_id) =|
|
||||
start_window_resize(i32 window_id, i32 resize_direction) =|
|
||||
|
||||
is_maximized(i32 window_id) => (bool maximized)
|
||||
set_maximized(i32 window_id, bool maximized) =|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue