From: devilhorns Date: Thu, 12 Jan 2012 00:06:37 +0000 (+0000) Subject: Ecore_Evas (wayland_shm): Don't issue a surface move if the ecore_evas X-Git-Tag: 2.0_alpha~86^2~46 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=951e11fad2bb1e20075567a7487ba5a3d8a33286;p=framework%2Fuifw%2Fecore.git Ecore_Evas (wayland_shm): Don't issue a surface move if the ecore_evas is not visible (has no surface). git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@67104 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/ecore_evas/ecore_evas_wayland_shm.c b/src/lib/ecore_evas/ecore_evas_wayland_shm.c index b449377..2f18299 100644 --- a/src/lib/ecore_evas/ecore_evas_wayland_shm.c +++ b/src/lib/ecore_evas/ecore_evas_wayland_shm.c @@ -453,9 +453,12 @@ _ecore_evas_wl_move(Ecore_Evas *ee, int x, int y) ee->x = x; ee->y = y; - wl_shell_surface_move(ee->engine.wl.shell_surface, - ecore_wl_input_device_get(), - _ecore_evas_wl_btn_timestamp); + if (ee->engine.wl.shell_surface) + { + wl_shell_surface_move(ee->engine.wl.shell_surface, + ecore_wl_input_device_get(), + _ecore_evas_wl_btn_timestamp); + } if (ee->func.fn_move) ee->func.fn_move(ee); }