mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -05:00
view: Refactor view destruction
Consolidates all of the view destruction code for xwl + xdg into one function. Fixes several notable bugs along the way: - Fixes a crash when alt tabbing when a selected view gets destroyed. - Fixes the OSD not updating to reflect a view has been destroyed.
This commit is contained in:
parent
dee370f1b4
commit
d0b9680d00
4 changed files with 64 additions and 36 deletions
|
|
@ -404,6 +404,8 @@ void view_update_app_id(struct view *view);
|
|||
void view_impl_map(struct view *view);
|
||||
void view_adjust_size(struct view *view, int *w, int *h);
|
||||
|
||||
void view_handle_destroy(struct view *view);
|
||||
|
||||
void foreign_toplevel_handle_create(struct view *view);
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue