xdg: don't send xdg_wm_base::ping on creation of new surface

Although this wasn't causing any known issues, here too we weren't
handling the ping_timeout event, so it seems useless.
This commit is contained in:
John Lindgren 2025-12-01 21:53:00 -05:00
parent f329ed73fc
commit dcdb6c9e97

View file

@ -929,8 +929,6 @@ handle_new_xdg_toplevel(struct wl_listener *listener, void *data)
assert(xdg_surface->role == WLR_XDG_SURFACE_ROLE_TOPLEVEL); 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 xdg_toplevel_view *xdg_toplevel_view = znew(*xdg_toplevel_view);
struct view *view = &xdg_toplevel_view->base; struct view *view = &xdg_toplevel_view->base;