mirror of
https://github.com/labwc/labwc.git
synced 2026-03-22 05:33:57 -04:00
tree-wide: add g_server global and prep for auto-replace
This commit is contained in:
parent
50bb882cf0
commit
60ac8f07bb
8 changed files with 35 additions and 27 deletions
|
|
@ -211,6 +211,7 @@ struct rcxml {
|
|||
bool mag_filter;
|
||||
};
|
||||
|
||||
/* defined in main.c */
|
||||
extern struct rcxml rc;
|
||||
|
||||
void rcxml_read(const char *filename);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue