summaryrefslogtreecommitdiff
path: root/dwl.c
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2023-11-21 20:11:06 -0600
committerLeonardo Hernández Hernández <leohdz172@proton.me>2023-11-21 20:16:26 -0600
commitd2dd2f49862dfc4c2f7164026e7421bf91d2325e (patch)
tree6128249f6f149fc2f7f9d7b6c9abc0ae8cf1f64e /dwl.c
parenta0e79d81452049aaad2d3081d9c689fb9f4253a8 (diff)
ignore wl_surface.commit for xwayland clients
This is no longer needed
Diffstat (limited to 'dwl.c')
-rw-r--r--dwl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/dwl.c b/dwl.c
index 9e870cc..4eac1fd 100644
--- a/dwl.c
+++ b/dwl.c
@@ -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);
}