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

@ -123,7 +123,7 @@ update_keycodes_iter(struct xkb_keymap *keymap, xkb_keycode_t key, void *data)
void
keybind_update_keycodes(void)
{
struct xkb_state *state = g_server.seat.keyboard_group->keyboard.xkb_state;
struct xkb_state *state = server.seat.keyboard_group->keyboard.xkb_state;
struct xkb_keymap *keymap = xkb_state_get_keymap(state);
struct keybind *keybind;

View file

@ -204,7 +204,7 @@ should_update_activation(void)
/* With no valid preference, update when a DRM backend is in use */
bool have_drm = false;
wlr_multi_for_each_backend(g_server.backend, backend_check_drm, &have_drm);
wlr_multi_for_each_backend(server.backend, backend_check_drm, &have_drm);
return have_drm;
}