ecore-wayland: Don't crash if we have no input->cursor_name
authorChris Michael <cp.michael@samsung.com>
Fri, 16 Jan 2015 15:35:06 +0000 (10:35 -0500)
committerChris Michael <cp.michael@samsung.com>
Fri, 16 Jan 2015 15:35:06 +0000 (10:35 -0500)
commitade7482ee2336d4016ffe17d8569a1b0bb261c70
treeb837b7e3df0d16a0bc2b33c43bfe4372c190f04d
parent82249b5b50d9640ed1ebd363cf3cca92f5bcb255
ecore-wayland: Don't crash if we have no input->cursor_name

Summary: If we are using a touchscreen, there will be no pointer and
thus no cursor_name to use. Trap for that case by checking if
input->cursor_name is valid.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/ecore_wayland/ecore_wl_window.c