tree-wide: rename g_server to just server

This commit is contained in:
John Lindgren 2026-03-19 12:05:43 -04:00 committed by Johan Malm
parent 8d46da9db1
commit 4f72e6775e
61 changed files with 955 additions and 955 deletions

View file

@ -54,7 +54,7 @@ count_views(struct view *view)
int nviews = 0;
struct view *v;
for_each_view(v, &g_server.views, LAB_VIEW_CRITERIA_CURRENT_WORKSPACE) {
for_each_view(v, &server.views, LAB_VIEW_CRITERIA_CURRENT_WORKSPACE) {
/* Ignore the target view or anything on a different output */
if (v == view || v->output != output) {
continue;
@ -141,7 +141,7 @@ build_grid(struct overlap_bitmap *bmp, struct view *view)
int nr_cols = 2;
struct view *v;
for_each_view(v, &g_server.views, LAB_VIEW_CRITERIA_CURRENT_WORKSPACE) {
for_each_view(v, &server.views, LAB_VIEW_CRITERIA_CURRENT_WORKSPACE) {
if (v == view || v->output != output) {
continue;
}
@ -242,7 +242,7 @@ build_overlap(struct overlap_bitmap *bmp, struct view *view)
}
struct view *v;
for_each_view(v, &g_server.views, LAB_VIEW_CRITERIA_CURRENT_WORKSPACE) {
for_each_view(v, &server.views, LAB_VIEW_CRITERIA_CURRENT_WORKSPACE) {
if (v == view || v->output != output) {
continue;
}