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:
parent
0ea1fd2d54
commit
cb295ab644
5 changed files with 18 additions and 9 deletions
|
@ -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() =|
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue