fix: always update tearing page flip output state if output can tear

This commit is contained in:
Ricardo Steijn 2024-04-06 17:48:59 +02:00
parent e12ac32741
commit 0b0d979f1e
2 changed files with 5 additions and 11 deletions

View file

@ -73,8 +73,7 @@ struct sway_output {
int max_render_time; // In milliseconds
struct wl_event_source *repaint_timer;
bool gamma_lut_changed;
bool allow_tearing;
bool tearing_state, tearing_state_changed;
bool allow_tearing, can_tear;
};
struct sway_output_non_desktop {