mirror of
https://github.com/labwc/labwc.git
synced 2026-03-22 05:33:57 -04:00
decorations: fix accidental rename
Fixes: 4f72e6775e
("tree-wide: rename g_server to just server")
This commit is contained in:
parent
a2e0de7676
commit
9550bccef2
3 changed files with 6 additions and 6 deletions
|
|
@ -7,12 +7,12 @@ struct view;
|
||||||
struct wlr_surface;
|
struct wlr_surface;
|
||||||
|
|
||||||
void kde_server_decoration_init(void);
|
void kde_server_decoration_init(void);
|
||||||
void xdserver_decoration_init(void);
|
void xdg_server_decoration_init(void);
|
||||||
|
|
||||||
void kde_server_decoration_update_default(void);
|
void kde_server_decoration_update_default(void);
|
||||||
void kde_server_decoration_set_view(struct view *view, struct wlr_surface *surface);
|
void kde_server_decoration_set_view(struct view *view, struct wlr_surface *surface);
|
||||||
|
|
||||||
void kde_server_decoration_finish(void);
|
void kde_server_decoration_finish(void);
|
||||||
void xdserver_decoration_finish(void);
|
void xdg_server_decoration_finish(void);
|
||||||
|
|
||||||
#endif /* LABWC_DECORATIONS_H */
|
#endif /* LABWC_DECORATIONS_H */
|
||||||
|
|
|
||||||
|
|
@ -115,7 +115,7 @@ xdg_toplevel_decoration(struct wl_listener *listener, void *data)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
xdserver_decoration_init(void)
|
xdg_server_decoration_init(void)
|
||||||
{
|
{
|
||||||
struct wlr_xdg_decoration_manager_v1 *xdg_deco_mgr = NULL;
|
struct wlr_xdg_decoration_manager_v1 *xdg_deco_mgr = NULL;
|
||||||
xdg_deco_mgr = wlr_xdg_decoration_manager_v1_create(server.wl_display);
|
xdg_deco_mgr = wlr_xdg_decoration_manager_v1_create(server.wl_display);
|
||||||
|
|
@ -130,7 +130,7 @@ xdserver_decoration_init(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
xdserver_decoration_finish(void)
|
xdg_server_decoration_finish(void)
|
||||||
{
|
{
|
||||||
wl_list_remove(&server.xdg_toplevel_decoration.link);
|
wl_list_remove(&server.xdg_toplevel_decoration.link);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -635,7 +635,7 @@ server_init(void)
|
||||||
seat_init();
|
seat_init();
|
||||||
xdg_shell_init();
|
xdg_shell_init();
|
||||||
kde_server_decoration_init();
|
kde_server_decoration_init();
|
||||||
xdserver_decoration_init();
|
xdg_server_decoration_init();
|
||||||
|
|
||||||
struct wlr_presentation *presentation = wlr_presentation_create(
|
struct wlr_presentation *presentation = wlr_presentation_create(
|
||||||
server.wl_display, server.backend,
|
server.wl_display, server.backend,
|
||||||
|
|
@ -775,7 +775,7 @@ server_finish(void)
|
||||||
xdg_shell_finish();
|
xdg_shell_finish();
|
||||||
layers_finish();
|
layers_finish();
|
||||||
kde_server_decoration_finish();
|
kde_server_decoration_finish();
|
||||||
xdserver_decoration_finish();
|
xdg_server_decoration_finish();
|
||||||
wl_list_remove(&server.new_constraint.link);
|
wl_list_remove(&server.new_constraint.link);
|
||||||
wl_list_remove(&server.output_power_manager_set_mode.link);
|
wl_list_remove(&server.output_power_manager_set_mode.link);
|
||||||
wl_list_remove(&server.tearing_new_object.link);
|
wl_list_remove(&server.tearing_new_object.link);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue