remove always and fullscreen tearing options and add ToggleTearing action

This commit is contained in:
Ph42oN 2024-01-04 11:37:29 +02:00
parent 8b7e953a25
commit acbcf4f497
7 changed files with 26 additions and 54 deletions

View file

@ -34,13 +34,6 @@ enum adaptive_sync_mode {
LAB_ADAPTIVE_SYNC_FULLSCREEN,
};
enum tearing_mode {
LAB_TEARING_DISABLED = 0,
LAB_TEARING_ENABLED,
LAB_TEARING_FULLSCREEN,
LAB_TEARING_ALWAYS,
};
struct usable_area_override {
struct border margin;
char *output;
@ -60,7 +53,7 @@ struct rcxml {
bool xdg_shell_server_side_deco;
int gap;
enum adaptive_sync_mode adaptive_sync;
enum tearing_mode allow_tearing;
bool allow_tearing;
bool reuse_output_mode;
enum view_placement_policy placement_policy;