break change: inhibit_regardless_of_visibility rename to idleinhibit_ignore_visible
This commit is contained in:
@@ -77,7 +77,7 @@ overviewgappo=30
|
|||||||
no_border_when_single=0
|
no_border_when_single=0
|
||||||
axis_bind_apply_timeout=100
|
axis_bind_apply_timeout=100
|
||||||
focus_on_activate=1
|
focus_on_activate=1
|
||||||
inhibit_regardless_of_visibility=0
|
idleinhibit_ignore_visible=0
|
||||||
sloppyfocus=1
|
sloppyfocus=1
|
||||||
warpcursor=1
|
warpcursor=1
|
||||||
focus_cross_monitor=0
|
focus_cross_monitor=0
|
||||||
|
|||||||
@@ -238,7 +238,7 @@ typedef struct {
|
|||||||
|
|
||||||
uint32_t axis_bind_apply_timeout;
|
uint32_t axis_bind_apply_timeout;
|
||||||
uint32_t focus_on_activate;
|
uint32_t focus_on_activate;
|
||||||
int inhibit_regardless_of_visibility;
|
int idleinhibit_ignore_visible;
|
||||||
int sloppyfocus;
|
int sloppyfocus;
|
||||||
int warpcursor;
|
int warpcursor;
|
||||||
|
|
||||||
@@ -1456,8 +1456,8 @@ void parse_option(Config *config, char *key, char *value) {
|
|||||||
config->focus_on_activate = atoi(value);
|
config->focus_on_activate = atoi(value);
|
||||||
} else if (strcmp(key, "numlockon") == 0) {
|
} else if (strcmp(key, "numlockon") == 0) {
|
||||||
config->numlockon = atoi(value);
|
config->numlockon = atoi(value);
|
||||||
} else if (strcmp(key, "inhibit_regardless_of_visibility") == 0) {
|
} else if (strcmp(key, "idleinhibit_ignore_visible") == 0) {
|
||||||
config->inhibit_regardless_of_visibility = atoi(value);
|
config->idleinhibit_ignore_visible = atoi(value);
|
||||||
} else if (strcmp(key, "sloppyfocus") == 0) {
|
} else if (strcmp(key, "sloppyfocus") == 0) {
|
||||||
config->sloppyfocus = atoi(value);
|
config->sloppyfocus = atoi(value);
|
||||||
} else if (strcmp(key, "warpcursor") == 0) {
|
} else if (strcmp(key, "warpcursor") == 0) {
|
||||||
@@ -2735,8 +2735,8 @@ void override_config(void) {
|
|||||||
axis_bind_apply_timeout =
|
axis_bind_apply_timeout =
|
||||||
CLAMP_INT(config.axis_bind_apply_timeout, 0, 1000);
|
CLAMP_INT(config.axis_bind_apply_timeout, 0, 1000);
|
||||||
focus_on_activate = CLAMP_INT(config.focus_on_activate, 0, 1);
|
focus_on_activate = CLAMP_INT(config.focus_on_activate, 0, 1);
|
||||||
inhibit_regardless_of_visibility =
|
idleinhibit_ignore_visible =
|
||||||
CLAMP_INT(config.inhibit_regardless_of_visibility, 0, 1);
|
CLAMP_INT(config.idleinhibit_ignore_visible, 0, 1);
|
||||||
sloppyfocus = CLAMP_INT(config.sloppyfocus, 0, 1);
|
sloppyfocus = CLAMP_INT(config.sloppyfocus, 0, 1);
|
||||||
warpcursor = CLAMP_INT(config.warpcursor, 0, 1);
|
warpcursor = CLAMP_INT(config.warpcursor, 0, 1);
|
||||||
focus_cross_monitor = CLAMP_INT(config.focus_cross_monitor, 0, 1);
|
focus_cross_monitor = CLAMP_INT(config.focus_cross_monitor, 0, 1);
|
||||||
@@ -2922,8 +2922,8 @@ void set_value_default() {
|
|||||||
config.enable_floating_snap = enable_floating_snap;
|
config.enable_floating_snap = enable_floating_snap;
|
||||||
config.swipe_min_threshold = swipe_min_threshold;
|
config.swipe_min_threshold = swipe_min_threshold;
|
||||||
|
|
||||||
config.inhibit_regardless_of_visibility =
|
config.idleinhibit_ignore_visible =
|
||||||
inhibit_regardless_of_visibility; /* 1 means idle inhibitors will
|
idleinhibit_ignore_visible; /* 1 means idle inhibitors will
|
||||||
disable idle tracking even if it's
|
disable idle tracking even if it's
|
||||||
surface isn't visible
|
surface isn't visible
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ uint32_t cursor_hide_timeout = 0;
|
|||||||
|
|
||||||
uint32_t swipe_min_threshold = 1;
|
uint32_t swipe_min_threshold = 1;
|
||||||
|
|
||||||
int inhibit_regardless_of_visibility =
|
int idleinhibit_ignore_visible =
|
||||||
0; /* 1 means idle inhibitors will disable idle tracking even if it's
|
0; /* 1 means idle inhibitors will disable idle tracking even if it's
|
||||||
surface isn't visible */
|
surface isn't visible */
|
||||||
uint32_t borderpx = 4; /* border pixel of windows */
|
uint32_t borderpx = 4; /* border pixel of windows */
|
||||||
|
|||||||
@@ -2014,7 +2014,7 @@ void checkidleinhibitor(struct wlr_surface *exclude) {
|
|||||||
|
|
||||||
toplevel_from_wlr_surface(inhibitor->surface, &c, NULL);
|
toplevel_from_wlr_surface(inhibitor->surface, &c, NULL);
|
||||||
|
|
||||||
if (inhibit_regardless_of_visibility) {
|
if (idleinhibit_ignore_visible) {
|
||||||
inhibited = 1;
|
inhibited = 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user