mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +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:
parent
6032b2cb2b
commit
b027466f41
Notes:
sideshowbarker
2024-07-18 10:08:01 +09:00
Author: https://github.com/awesomekling
Commit: b027466f41
6 changed files with 36 additions and 1 deletions
|
@ -1099,4 +1099,9 @@ void ClientConnection::set_window_modified(i32 window_id, bool modified)
|
|||
window.set_modified(modified);
|
||||
}
|
||||
|
||||
void ClientConnection::set_flash_flush(bool enabled)
|
||||
{
|
||||
Compositor::the().set_flash_flush(enabled);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue