shell: Don't ping internal shell surfaces
This is a hack for now to get xserver surfaces working again.
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user