renamed ws iterator function
This commit is contained in:
parent
00694dd059
commit
139c33f7c5
1 changed files with 2 additions and 2 deletions
|
@ -690,7 +690,7 @@ void workspace_detect_urgent(struct sway_workspace *workspace) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool find_con_needing_optimized_blur(struct sway_container *con, void *data) {
|
static bool find_optimized_blur_iterator(struct sway_container *con, void *data) {
|
||||||
struct sway_view *view = con->view;
|
struct sway_view *view = con->view;
|
||||||
if (!view) {
|
if (!view) {
|
||||||
return false;
|
return false;
|
||||||
|
@ -705,7 +705,7 @@ bool should_workspace_need_optimized_blur(struct sway_workspace *ws) {
|
||||||
if (!workspace_is_visible(ws)) {
|
if (!workspace_is_visible(ws)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return (bool)workspace_find_container(ws, find_con_needing_optimized_blur, NULL);
|
return (bool)workspace_find_container(ws, find_optimized_blur_iterator, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
void workspace_for_each_container(struct sway_workspace *ws,
|
void workspace_for_each_container(struct sway_workspace *ws,
|
||||||
|
|
Loading…
Add table
Reference in a new issue