shell: Don't ping internal shell surfaces

This is a hack for now to get xserver surfaces working again.
This commit is contained in:
Kristian Høgsberg 2012-04-21 23:20:07 -04:00
parent bc052c99f9
commit ca535c1998
1 changed files with 2 additions and 0 deletions

View File

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