Check for view visibility on damage
This is not always the case so we better check.
This commit is contained in:
parent
48fc9656ca
commit
5b004c46f8
|
@ -1643,11 +1643,12 @@ commit_child_handler(struct wl_listener *listener, void *data)
|
|||
wl_container_of(listener, view_child, commit);
|
||||
|
||||
struct hikari_view *parent = view_child->parent;
|
||||
assert(!hikari_view_is_hidden(parent));
|
||||
|
||||
struct wlr_surface *surface = view_child->surface;
|
||||
if (!hikari_view_is_hidden(parent)) {
|
||||
struct wlr_surface *surface = view_child->surface;
|
||||
|
||||
hikari_view_damage_surface(parent, surface, false);
|
||||
hikari_view_damage_surface(parent, surface, false);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue