tree-wide: add g_server global and prep for auto-replace

This commit is contained in:
John Lindgren 2026-02-23 11:46:45 -05:00 committed by Johan Malm
parent 50bb882cf0
commit 60ac8f07bb
8 changed files with 35 additions and 27 deletions

View file

@ -211,6 +211,7 @@ struct rcxml {
bool mag_filter;
};
/* defined in main.c */
extern struct rcxml rc;
void rcxml_read(const char *filename);

View file

@ -313,6 +313,9 @@ struct server {
pid_t primary_client_pid;
};
/* defined in main.c */
extern struct server g_server;
void xdg_popup_create(struct view *view, struct wlr_xdg_popup *wlr_popup);
void xdg_shell_init(struct server *server);
void xdg_shell_finish(struct server *server);