ecore_con: Fix event issue with extn image 82/123282/2
authorjiin.moon <jiin.moon@samsung.com>
Tue, 7 Mar 2017 11:45:50 +0000 (20:45 +0900)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Wed, 5 Apr 2017 08:29:24 +0000 (01:29 -0700)
If extn image has event by MOUSE_EVENT, wait READ or WRITE event from FD descriptor.
But FD handler does not process about WRITE flag if READ flag has set.

Change-Id: If4602f2727ea0f7d9ce64c2dd660dc6d212d170e

src/lib/ecore_con/ecore_con.c

index 4554626..13e3f11 100644 (file)
@@ -2320,7 +2320,7 @@ _ecore_con_cl_handler(void *data,
      }
    if (want_read)
      _ecore_con_cl_read(obj);
-   else if (want_write) /* only possible with non-ssl connections */
+   if (want_write) /* only possible with non-ssl connections */
      {
         if (svr->connecting && (!svr_try_connect_plain(obj)) && (!svr->ecs_state))
           return ECORE_CALLBACK_RENEW;