commit | c06a180dd574c24ca50766461c10d3a6bfa3ad2b | [log] [tgz] |
---|---|---|
author | Boyan Ding <stu_dby@126.com> | Sun Jul 06 11:44:58 2014 +0800 |
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | Tue Aug 19 16:24:58 2014 +0300 |
tree | b6ac986fa8bfb83d895c45a7935405569baedcfe | |
parent | a0fae4657fab4f1708449d5ee5e1b92e5e90c0aa [diff] |
xwm: check whether the picked seat can be NULL The seat picked in weston_wm_window_handle_moveresize can sometimes be NULL when it is (somehow) triggered with all buttons released. This patch checks whether the seat is NULL to avoid NULL dereference. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=80837 Signed-off-by: Boyan Ding <stu_dby@126.com>