shell: Don't ping internal shell surfaces

This is a hack for now to get xserver surfaces working again.
dev
Kristian Høgsberg 13 years ago
parent bc052c99f9
commit ca535c1998
  1. 2
      src/shell.c

@ -418,6 +418,8 @@ ping_handler(struct weston_surface *surface, uint32_t serial)
if (!shsurf) if (!shsurf)
return; return;
if (!shsurf->resource.client)
return;
if (!shsurf->ping_timer) { if (!shsurf->ping_timer) {
shsurf->ping_timer = malloc(sizeof shsurf->ping_timer); shsurf->ping_timer = malloc(sizeof shsurf->ping_timer);

Loading…
Cancel
Save