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

@ -84,10 +84,10 @@ struct menu *menu_get_by_id(const char *id);
/**
* menu_open_root - open menu on position (x, y)
*
* This function will close g_server.menu_current, open the
* new menu and assign @menu to g_server.menu_current.
* This function will close server.menu_current, open the
* new menu and assign @menu to server.menu_current.
*
* Additionally, g_server.input_mode will be set to LAB_INPUT_STATE_MENU.
* Additionally, server.input_mode will be set to LAB_INPUT_STATE_MENU.
*/
void menu_open_root(struct menu *menu, int x, int y);
@ -102,10 +102,10 @@ void menu_process_cursor_motion(struct wlr_scene_node *node);
/**
* menu_close_root- close root menu
*
* This function will close g_server.menu_current and set it to NULL.
* Asserts that g_server.input_mode is set to LAB_INPUT_STATE_MENU.
* This function will close server.menu_current and set it to NULL.
* Asserts that server.input_mode is set to LAB_INPUT_STATE_MENU.
*
* Additionally, g_server.input_mode will be set to LAB_INPUT_STATE_PASSTHROUGH.
* Additionally, server.input_mode will be set to LAB_INPUT_STATE_PASSTHROUGH.
*/
void menu_close_root(void);