mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:27:46 +00:00
Magnifier: Use a GUI::DisplayLink to drive the screen captures
This ensures that we don't try to update more often than the screen is updated. It also avoids doing synchronous IPC in paint_event().
This commit is contained in:
parent
61c56e75f4
commit
0ea1fd2d54
3 changed files with 13 additions and 8 deletions
|
@ -84,7 +84,6 @@ int main(int argc, char** argv)
|
|||
window->show();
|
||||
|
||||
magnifier.track_cursor_globally();
|
||||
magnifier.start_timer(16);
|
||||
|
||||
return app->exec();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue