ecore_imf: init wayland before using wayland calls.
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>
Tue, 21 Apr 2015 14:06:38 +0000 (10:06 -0400)
committerChris Michael <cp.michael@samsung.com>
Tue, 21 Apr 2015 14:06:39 +0000 (10:06 -0400)
commitc77812d8b0cb7664b5925922c66993482d4451df
treed1ef4a8c2ad51e6c81c47b3a709db26863170aa4
parent2e49f60f611dee0494850fa5b78880cdbaed2d48
ecore_imf: init wayland before using wayland calls.

Summary:
ecore_imf: init wayland if wayland env var exists

Otherwise ecore-wl functions could return some invalid values. The env var check to avoid error messages.

@fix

Reviewers: Sergeant_Whitespace, devilhorns

Reviewed By: Sergeant_Whitespace

Subscribers: Sergeant_Whitespace, cedric

Differential Revision: https://phab.enlightenment.org/D2253
src/modules/ecore_imf/wayland/wayland_module.c