Move OSD handler for view destruction to osd.c

This commit is contained in:
Consolatis 2022-08-22 02:54:40 +02:00
parent ca3c83aafc
commit 2550c984f8
3 changed files with 50 additions and 32 deletions

View file

@ -583,6 +583,8 @@ void osd_update(struct server *server);
void osd_finish(struct server *server);
/* Moves preview views back into their original stacking order and state */
void osd_preview_restore(struct server *server);
/* Notify OSD about a destroying view */
void osd_on_view_destroy(struct view *view);
/*
* wlroots "input inhibitor" extension (required for swaylock) blocks