mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:47:44 +00:00
WindowServer: Add a GetGlobalCursorPosition IPC request
This tells you where the mouse cursor is in screen coordinates.
This commit is contained in:
parent
add01b304b
commit
3717e5dbae
3 changed files with 8 additions and 0 deletions
|
@ -144,6 +144,7 @@ private:
|
|||
virtual void handle(const Messages::WindowServer::DisableDisplayLink&) override;
|
||||
virtual void handle(const Messages::WindowServer::SetWindowProgress&) override;
|
||||
virtual void handle(const Messages::WindowServer::Pong&) override;
|
||||
virtual OwnPtr<Messages::WindowServer::GetGlobalCursorPositionResponse> handle(const Messages::WindowServer::GetGlobalCursorPosition&) override;
|
||||
|
||||
Window* window_from_id(i32 window_id);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue