From ca535c199810b6380f58b5cd42ec86cec991f883 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Sat, 21 Apr 2012 23:20:07 -0400 Subject: [PATCH] shell: Don't ping internal shell surfaces This is a hack for now to get xserver surfaces working again. --- src/shell.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shell.c b/src/shell.c index ed5ca80..fd66462 100644 --- a/src/shell.c +++ b/src/shell.c @@ -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); -- 2.7.4