mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-01 22:58:44 -04:00
change: change option name bypass_surface_visibility to inhibit_regardless_of_visibility
This commit is contained in:
parent
bd70e2ad92
commit
f7c161b78c
4 changed files with 10 additions and 10 deletions
|
|
@ -184,7 +184,7 @@ typedef struct {
|
|||
|
||||
unsigned int axis_bind_apply_timeout;
|
||||
unsigned int focus_on_activate;
|
||||
int bypass_surface_visibility;
|
||||
int inhibit_regardless_of_visibility;
|
||||
int sloppyfocus;
|
||||
int warpcursor;
|
||||
|
||||
|
|
@ -1132,8 +1132,8 @@ void parse_config_line(Config *config, const char *line) {
|
|||
config->focus_on_activate = atoi(value);
|
||||
} else if (strcmp(key, "numlockon") == 0) {
|
||||
config->numlockon = atoi(value);
|
||||
} else if (strcmp(key, "bypass_surface_visibility") == 0) {
|
||||
config->bypass_surface_visibility = atoi(value);
|
||||
} else if (strcmp(key, "inhibit_regardless_of_visibility") == 0) {
|
||||
config->inhibit_regardless_of_visibility = atoi(value);
|
||||
} else if (strcmp(key, "sloppyfocus") == 0) {
|
||||
config->sloppyfocus = atoi(value);
|
||||
} else if (strcmp(key, "warpcursor") == 0) {
|
||||
|
|
@ -2137,8 +2137,8 @@ void override_config(void) {
|
|||
axis_bind_apply_timeout =
|
||||
CLAMP_INT(config.axis_bind_apply_timeout, 0, 1000);
|
||||
focus_on_activate = CLAMP_INT(config.focus_on_activate, 0, 1);
|
||||
bypass_surface_visibility =
|
||||
CLAMP_INT(config.bypass_surface_visibility, 0, 1);
|
||||
inhibit_regardless_of_visibility =
|
||||
CLAMP_INT(config.inhibit_regardless_of_visibility, 0, 1);
|
||||
sloppyfocus = CLAMP_INT(config.sloppyfocus, 0, 1);
|
||||
warpcursor = CLAMP_INT(config.warpcursor, 0, 1);
|
||||
focus_cross_monitor = CLAMP_INT(config.focus_cross_monitor, 0, 1);
|
||||
|
|
@ -2289,8 +2289,8 @@ void set_value_default() {
|
|||
config.enable_floating_snap = enable_floating_snap;
|
||||
config.swipe_min_threshold = swipe_min_threshold;
|
||||
|
||||
config.bypass_surface_visibility =
|
||||
bypass_surface_visibility; /* 1 means idle inhibitors will disable idle
|
||||
config.inhibit_regardless_of_visibility =
|
||||
inhibit_regardless_of_visibility; /* 1 means idle inhibitors will disable idle
|
||||
tracking even if it's surface isn't
|
||||
visible
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue