diff options
author | Andreas Kling <kling@serenityos.org> | 2021-06-07 10:20:50 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-07 10:22:25 +0200 |
commit | cb295ab644875f87356df69385d2836dab8a1120 (patch) | |
tree | fe5102fe0eb306f6fad6f3ab335c7e80839c5408 /Userland/Services/WindowServer/WindowServer.ipc | |
parent | 0ea1fd2d54771f9d24cca196a0ff26064aedc3ef (diff) | |
download | serenity-cb295ab644875f87356df69385d2836dab8a1120.zip |
WindowServer+Magnifier: Make Magnifier buttery smooth :^)
This patch moves the magnifier rect computation over to the server side
to ensure that the mouse cursor position and the screen image never get
out of sync.
Diffstat (limited to 'Userland/Services/WindowServer/WindowServer.ipc')
-rw-r--r-- | Userland/Services/WindowServer/WindowServer.ipc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Services/WindowServer/WindowServer.ipc b/Userland/Services/WindowServer/WindowServer.ipc index ea80a98293..efddf3c2f2 100644 --- a/Userland/Services/WindowServer/WindowServer.ipc +++ b/Userland/Services/WindowServer/WindowServer.ipc @@ -121,6 +121,7 @@ endpoint WindowServer get_scroll_step_size() => (u32 step_size) get_screen_bitmap(Optional<Gfx::IntRect> rect) => (Gfx::ShareableBitmap bitmap) + get_screen_bitmap_around_cursor(Gfx::IntSize size) => (Gfx::ShareableBitmap bitmap) pong() =| |