change: change option name bypass_surface_visibility to inhibit_regardless_of_visibility

This commit is contained in:
DreamMaoMao 2025-07-03 09:10:16 +08:00
parent bd70e2ad92
commit f7c161b78c
4 changed files with 10 additions and 10 deletions

View file

@ -2995,7 +2995,7 @@ void checkidleinhibitor(struct wlr_surface *exclude) {
wlr_surface_get_root_surface(inhibitor->surface);
struct wlr_scene_tree *tree = surface->data;
if (exclude != surface &&
(bypass_surface_visibility ||
(inhibit_regardless_of_visibility ||
(!tree ||
wlr_scene_node_coords(&tree->node, &unused_lx, &unused_ly)))) {
inhibited = 1;