seat: remove cg_ prefix from cg_seat_destroy

This commit is contained in:
Jente Hidskes 2019-02-02 17:13:10 +01:00
parent 75b0f832ed
commit f0eb115bda
No known key found for this signature in database
GPG key ID: 04BE5A29F32D91EA
3 changed files with 3 additions and 3 deletions

2
cage.c
View file

@ -275,7 +275,7 @@ main(int argc, char *argv[])
waitpid(pid, NULL, 0);
end:
cg_seat_destroy(server.seat);
seat_destroy(server.seat);
wlr_xdg_shell_destroy(xdg_shell);
wlr_idle_inhibit_v1_destroy(server.idle_inhibit_v1);
if (server.idle) {

2
seat.c
View file

@ -686,7 +686,7 @@ seat_create(struct cg_server *server)
}
void
cg_seat_destroy(struct cg_seat *seat)
seat_destroy(struct cg_seat *seat)
{
if (!seat) {
return;

2
seat.h
View file

@ -81,7 +81,7 @@ struct cg_drag_icon {
};
struct cg_seat *seat_create(struct cg_server *server);
void cg_seat_destroy(struct cg_seat *seat);
void seat_destroy(struct cg_seat *seat);
struct cg_view *seat_get_focus(struct cg_seat *seat);
void seat_set_focus(struct cg_seat *seat, struct cg_view *view);