~ruther/dwl

d2dd2f49862dfc4c2f7164026e7421bf91d2325e — Leonardo Hernández Hernández 1 year, 4 months ago a0e79d8
ignore wl_surface.commit for xwayland clients

This is no longer needed
1 files changed, 0 insertions(+), 2 deletions(-)

M dwl.c
M dwl.c => dwl.c +0 -2
@@ 2760,7 2760,6 @@ associatex11(struct wl_listener *listener, void *data)
{
	Client *c = wl_container_of(listener, c, associate);

	LISTEN(&client_surface(c)->events.commit, &c->commit, commitnotify);
	LISTEN(&client_surface(c)->events.map, &c->map, mapnotify);
	LISTEN(&client_surface(c)->events.unmap, &c->unmap, unmapnotify);
}


@@ 2806,7 2805,6 @@ void
dissociatex11(struct wl_listener *listener, void *data)
{
	Client *c = wl_container_of(listener, c, dissociate);
	wl_list_remove(&c->commit.link);
	wl_list_remove(&c->map.link);
	wl_list_remove(&c->unmap.link);
}

Do not follow this link