cnp: Avoid CRI message about wayland in X
authorJean-Philippe Andre <jp.andre@samsung.com>
Thu, 15 Jun 2017 07:34:22 +0000 (16:34 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 15 Jun 2017 08:35:44 +0000 (17:35 +0900)
commite4d47ed3a5c7f1df729fafc6390755275f2257be
tree760d39a14cd455ab19f520ce655435ed84964ece
parent6bfbeff47e934892d2789214ee19634ce0206e29
cnp: Avoid CRI message about wayland in X

Test scenario:
  elementary_test -to "Window Inline"
  Click on an entry, select some text (maybe with the keyboard)

There was a CRI message inside _ecore_evas_interface_get because
ecore_evas_wayland2_window_get() was called on an X11 ecore_evas
(not wayland).

The function was supposed to return NULL here.
src/lib/elementary/elm_cnp.c