]> git.mdlowis.com Git - proto/labwc.git/commitdiff
xdg: don't send xdg_wm_base::ping on creation of new surface
authorJohn Lindgren <john@jlindgren.net>
Tue, 2 Dec 2025 02:53:00 +0000 (21:53 -0500)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Tue, 2 Dec 2025 08:21:42 +0000 (09:21 +0100)
Although this wasn't causing any known issues, here too we weren't
handling the ping_timeout event, so it seems useless.

src/xdg.c

index b7bae3796da98bc1965ffcd8dc7b7c3e0f81850e..668dfe450cdeecb3166089b83ff5c5a07864c79f 100644 (file)
--- a/src/xdg.c
+++ b/src/xdg.c
@@ -999,8 +999,6 @@ handle_new_xdg_toplevel(struct wl_listener *listener, void *data)
 
        assert(xdg_surface->role == WLR_XDG_SURFACE_ROLE_TOPLEVEL);
 
-       wlr_xdg_surface_ping(xdg_surface);
-
        struct xdg_toplevel_view *xdg_toplevel_view = znew(*xdg_toplevel_view);
        struct view *view = &xdg_toplevel_view->base;