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 committed by Consolatis
parent d20d5675f5
commit ba60f4d5d0

View file

@ -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;