Skip to content

Commit

Permalink
use rollback instead of manually resetting state
Browse files Browse the repository at this point in the history
  • Loading branch information
ammen99 committed Dec 26, 2023
1 parent 2e56b9e commit a3e94ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/output-layout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ struct output_layout_output_t
} else
{
LOGE("Failed to change adaptive sync on output: ", handle->name);
wlr_output_enable_adaptive_sync(handle, adaptive_sync_enabled);
wlr_output_rollback(handle);
}
}
}
Expand Down

0 comments on commit a3e94ff

Please sign in to comment.