[PATCH] shell: support zooming without a pointer device

2014-05-05 Thread Stanislav Vorobiov
This patch fixes weston crash when zooming using "super + pgup/pgdn" binding on systems without a pointer device (i.e. touchscreen only) Please apply http://lists.freedesktop.org/archives/wayland-devel/2014-May/014576.html first before trying this one out. Also, systems without a pointer device e

[PATCH] shell: support zooming without a pointer device

2014-05-05 Thread Stanislav Vorobiov
if the system doesn't have a pointer device do_zoom will crash on accessing seat->pointer->x. here we implement zoom support on systems with a touchscreen, touchscreen's last touch point is simply used instead of pointer's current position --- desktop-shell/shell.c | 22 -- s