mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:48:12 +00:00
LibGUI+WindowServer: Create and broadcast an event when a window moves
LibWeb's Window object will need to know the OS-level position and size of the GUI::Window for e.g. screenX, screenY, outerWidth, outerHeight. It will also need to know about changes to that data.
This commit is contained in:
parent
6b41da0b9e
commit
f7e747b68e
7 changed files with 47 additions and 0 deletions
|
@ -23,6 +23,7 @@ endpoint WindowClient
|
|||
window_input_preempted(i32 window_id, i32 preemptor) =|
|
||||
window_close_request(i32 window_id) =|
|
||||
window_resized(i32 window_id, Gfx::IntRect new_rect) =|
|
||||
window_moved(i32 window_id, Gfx::IntRect new_rect) =|
|
||||
|
||||
menu_item_activated(i32 menu_id, u32 identifier) =|
|
||||
menu_item_entered(i32 menu_id, u32 identifier) =|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue