xdg-shell: add wlr_xdg_surface_ping()

This commit is contained in:
Johan Malm 2020-10-08 19:58:47 +01:00
parent 8e2b3ea89a
commit aa0b2b8e9e

View file

@ -1,5 +1,4 @@
#include <assert.h> #include <assert.h>
#include "labwc.h" #include "labwc.h"
struct xdg_deco { struct xdg_deco {
@ -224,6 +223,7 @@ xdg_surface_new(struct wl_listener *listener, void *data)
if (xdg_surface->role != WLR_XDG_SURFACE_ROLE_TOPLEVEL) { if (xdg_surface->role != WLR_XDG_SURFACE_ROLE_TOPLEVEL) {
return; return;
} }
wlr_xdg_surface_ping(xdg_surface);
struct view *view = calloc(1, sizeof(struct view)); struct view *view = calloc(1, sizeof(struct view));
view->server = server; view->server = server;