mirror of
https://github.com/labwc/labwc.git
synced 2026-04-04 07:15:41 -04:00
tree-wide: rename g_server to just server
This commit is contained in:
parent
8d46da9db1
commit
4f72e6775e
61 changed files with 955 additions and 955 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue