mirror of
https://github.com/swaywm/sway.git
synced 2025-11-29 06:59:46 -05:00
tearing: remove trailing whitespace
This commit is contained in:
parent
05e895c463
commit
3e956b9229
5 changed files with 15 additions and 16 deletions
|
|
@ -292,14 +292,13 @@ static int output_repaint_timer_handler(void *data) {
|
|||
wlr_output_state_set_gamma_lut(&pending, 0, NULL, NULL, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (output_can_tear(output)) {
|
||||
pending.tearing_page_flip = true;
|
||||
|
||||
|
||||
if (!wlr_output_test_state(output->wlr_output, &pending)) {
|
||||
sway_log(SWAY_DEBUG, "Output test failed on '%s', retrying without tearing page-flip",
|
||||
output->wlr_output->name);
|
||||
|
||||
pending.tearing_page_flip = false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue