fix adaptive sync fullscreen

This commit is contained in:
Ph42oN 2024-01-05 20:43:56 +02:00 committed by Johan Malm
parent 785a34e8ad
commit 1b5af86402
2 changed files with 1 additions and 4 deletions

View file

@ -1877,7 +1877,7 @@ view_destroy(struct view *view)
view->fullscreen = false;
desktop_update_top_layer_visiblity(server);
if (rc.adaptive_sync == LAB_ADAPTIVE_SYNC_FULLSCREEN) {
wlr_output_enable_adaptive_sync(view->output->wlr_output, false);
set_adaptive_sync_fullscreen(view);
}
}