]> git.mdlowis.com Git - proto/labwc.git/commitdiff
xwayland: don't send _NET_WM_PING to new windows
authorJohn Lindgren <john@jlindgren.net>
Tue, 2 Dec 2025 02:49:31 +0000 (21:49 -0500)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Tue, 2 Dec 2025 08:21:42 +0000 (09:21 +0100)
No one remembers why we were doing this, and we do not handle the
ping_timeout event, so it seems pointless. Also it appears to confuse
some older X clients.

src/xwayland.c

index 9c58f5742bbb67ec9f1c6917a676e21704ab9198..0fd2168e63008db91936da750d59690a362c34bb 100644 (file)
@@ -1051,7 +1051,6 @@ handle_new_surface(struct wl_listener *listener, void *data)
        struct server *server =
                wl_container_of(listener, server, xwayland_new_surface);
        struct wlr_xwayland_surface *xsurface = data;
-       wlr_xwayland_surface_ping(xsurface);
 
        /*
         * We do not create 'views' for xwayland override_redirect surfaces,