From cb295ab644875f87356df69385d2836dab8a1120 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 7 Jun 2021 10:20:50 +0200 Subject: 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. --- Userland/Services/WindowServer/WindowServer.ipc | 1 + 1 file changed, 1 insertion(+) (limited to 'Userland/Services/WindowServer/WindowServer.ipc') 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 rect) => (Gfx::ShareableBitmap bitmap) + get_screen_bitmap_around_cursor(Gfx::IntSize size) => (Gfx::ShareableBitmap bitmap) pong() =| -- cgit v1.2.3