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

WindowServer+wsctl: Add a simple utility for toggling "flash flush"

You can now put the WindowServer into "flash flush" mode by doing:

$ wsctl -f 1

To disable it, somewhat obviously:

$ wsctl -f 0
This commit is contained in:
Andreas Kling 2021-07-07 22:54:58 +02:00
parent 6032b2cb2b
commit b027466f41
6 changed files with 36 additions and 1 deletions

View file

@ -162,6 +162,7 @@ private:
virtual void set_window_modified(i32, bool) override;
virtual Messages::WindowServer::IsWindowModifiedResponse is_window_modified(i32) override;
virtual Messages::WindowServer::GetDesktopDisplayScaleResponse get_desktop_display_scale(u32) override;
virtual void set_flash_flush(bool) override;
Window* window_from_id(i32 window_id);