mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-27 03:36:31 +00:00
ignore wl_surface.commit for xwayland clients
This is no longer needed
This commit is contained in:
parent
a0e79d8145
commit
d2dd2f4986
1 changed files with 0 additions and 2 deletions
2
dwl.c
2
dwl.c
|
@ -2760,7 +2760,6 @@ associatex11(struct wl_listener *listener, void *data)
|
||||||
{
|
{
|
||||||
Client *c = wl_container_of(listener, c, associate);
|
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.map, &c->map, mapnotify);
|
||||||
LISTEN(&client_surface(c)->events.unmap, &c->unmap, unmapnotify);
|
LISTEN(&client_surface(c)->events.unmap, &c->unmap, unmapnotify);
|
||||||
}
|
}
|
||||||
|
@ -2806,7 +2805,6 @@ void
|
||||||
dissociatex11(struct wl_listener *listener, void *data)
|
dissociatex11(struct wl_listener *listener, void *data)
|
||||||
{
|
{
|
||||||
Client *c = wl_container_of(listener, c, dissociate);
|
Client *c = wl_container_of(listener, c, dissociate);
|
||||||
wl_list_remove(&c->commit.link);
|
|
||||||
wl_list_remove(&c->map.link);
|
wl_list_remove(&c->map.link);
|
||||||
wl_list_remove(&c->unmap.link);
|
wl_list_remove(&c->unmap.link);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue