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
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue