clients: Add more sanity checks to catch destroyed window
authorJeffy Chen <jeffy.chen@rock-chips.com>
Mon, 2 Sep 2019 02:26:09 +0000 (10:26 +0800)
committerDaniel Stone <daniel@fooishbar.org>
Thu, 21 Nov 2019 16:54:38 +0000 (16:54 +0000)
commit97749170496f8df1571471451a4cc5372442ce0b
treeca7826c7dc441784bca182013382a55adc5a8d1f
parent179458ad23a0e7b81fa9e83245ea8cee43e4fa14
clients: Add more sanity checks to catch destroyed window

Add a sanity check to touch_handle_down() and data_device_enter() as
what we did for pointer and keyboard.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
clients/window.c