projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc052c9
)
shell: Don't ping internal shell surfaces
author
Kristian Høgsberg
<krh@bitplanet.net>
Sun, 22 Apr 2012 03:20:07 +0000
(23:20 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Sun, 22 Apr 2012 03:21:33 +0000
(23:21 -0400)
This is a hack for now to get xserver surfaces working again.
src/shell.c
patch
|
blob
|
history
diff --git
a/src/shell.c
b/src/shell.c
index
ed5ca80
..
fd66462
100644
(file)
--- 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);