e_comp_wl: fix to return value properly 38/248938/1
authorSung-Jin Park <sj76.park@samsung.com>
Thu, 3 Dec 2020 09:53:19 +0000 (18:53 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Thu, 3 Dec 2020 09:53:19 +0000 (18:53 +0900)
Change-Id: I58bd6967581bd552309fdca65083bf9c7a284780
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
src/bin/e_comp_wl.c

index 7bc783610b64a0faf5211f4f341085aaf12a527d..bd84ce5ab5d66c9928b8534aae79836296aa7ba3 100644 (file)
@@ -2216,7 +2216,7 @@ _e_comp_wl_cb_mouse_button_cancel(void *d EINA_UNUSED, int t EINA_UNUSED, Ecore_
 static Eina_Bool
 _e_comp_wl_cb_zone_display_state_change(void *d EINA_UNUSED, int t EINA_UNUSED, E_Event_Zone_Display_State_Change *ev)
 {
-   if (!ev) ECORE_CALLBACK_PASS_ON;
+   if (!ev) return ECORE_CALLBACK_PASS_ON;
 
    E_Zone *zone = ev->zone;