mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:27:43 +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
|
@ -23,8 +23,6 @@ private:
|
|||
|
||||
void sync();
|
||||
|
||||
Gfx::IntPoint m_mouse_position;
|
||||
int m_scale_factor { 2 };
|
||||
int m_desktop_display_scale { 1 };
|
||||
RefPtr<Gfx::Bitmap> m_grabbed_bitmap;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue