els_tooltip: Only call ecore_x_pointer_xy_get() if we're in X
authorDaniel Willmann <d.willmann@samsung.com>
Tue, 11 Jun 2013 11:48:52 +0000 (12:48 +0100)
committerDaniel Willmann <d.willmann@samsung.com>
Tue, 11 Jun 2013 11:48:52 +0000 (12:48 +0100)
commit83dc18bf0c601a89c71f3183b735c1b7b9a34014
tree071a4b63ba3ec7002b98f4c818c48c9c709ecc57
parentec06d04b29454e1d1008525812bc43c4aa4c08ed
els_tooltip: Only call ecore_x_pointer_xy_get() if we're in X

We don't want to call X functions (and segfault) if X is not actually
running.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
src/lib/els_tooltip.c