projects
/
profile
/
ivi
/
wayland.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e760ec9
)
server: Don't crash for wl_seat_set_touch(seat, NULL)
author
Martin Olsson
<martin@minimum.se>
Mon, 9 Jul 2012 09:35:56 +0000
(11:35 +0200)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Mon, 9 Jul 2012 21:59:36 +0000
(17:59 -0400)
src/wayland-server.c
patch
|
blob
|
history
diff --git
a/src/wayland-server.c
b/src/wayland-server.c
index
d141682
..
9f9d6b3
100644
(file)
--- a/
src/wayland-server.c
+++ b/
src/wayland-server.c
@@
-759,7
+759,7
@@
wl_seat_set_touch(struct wl_seat *seat, struct wl_touch *touch)
return;
seat->touch = touch;
- if (
!
touch)
+ if (touch)
touch->seat = seat;
seat_send_updated_caps(seat);