1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:47:35 +00:00

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.
This commit is contained in:
Andreas Kling 2021-06-07 10:20:50 +02:00
parent 0ea1fd2d54
commit cb295ab644
5 changed files with 18 additions and 9 deletions

View file

@ -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() =|