mirror of
https://github.com/cage-kiosk/cage.git
synced 2025-10-29 05:40:19 -04:00
Damage whole views on map and unmap
This commit is contained in:
parent
1308c0ffc3
commit
a114ddbbf3
4 changed files with 33 additions and 1 deletions
|
|
@ -121,6 +121,8 @@ handle_xwayland_surface_unmap(struct wl_listener *listener, void *data)
|
|||
struct cg_xwayland_view *xwayland_view = wl_container_of(listener, xwayland_view, unmap);
|
||||
struct cg_view *view = &xwayland_view->view;
|
||||
|
||||
view_damage_whole(view);
|
||||
|
||||
wl_list_remove(&xwayland_view->commit.link);
|
||||
|
||||
view_unmap(view);
|
||||
|
|
@ -142,6 +144,8 @@ handle_xwayland_surface_map(struct wl_listener *listener, void *data)
|
|||
|
||||
xwayland_view->ever_been_mapped = true;
|
||||
view_map(view, xwayland_view->xwayland_surface->surface);
|
||||
|
||||
view_damage_whole(view);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue