From: SooChan Lim Date: Tue, 3 Nov 2020 02:23:08 +0000 (+0900) Subject: Revert "e_comp_wl_input: check ec's cdata before accessing it" X-Git-Tag: submit/tizen/20201103.033023~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=08b1ee29ce2615bcda1359583d642e582358edf1;p=platform%2Fupstream%2Fenlightenment.git Revert "e_comp_wl_input: check ec's cdata before accessing it" This reverts commit 59202013a86d14b7eee5a38eb3927d63f59b6716. Change-Id: I59f0d3b63cf26b755b9c457bb07205919531a0f3 --- diff --git a/src/bin/e_comp_wl_input.c b/src/bin/e_comp_wl_input.c index c1445f47a9..66b2268163 100644 --- a/src/bin/e_comp_wl_input.c +++ b/src/bin/e_comp_wl_input.c @@ -129,13 +129,9 @@ _e_comp_wl_input_pointer_cb_cursor_set(struct wl_client *client, struct wl_resou EC_CHANGED(ec); /* Set fuctions to prevent unwanted handling by shell */ - cdata = e_client_cdata_get(ec); - if (cdata) - { - cdata->shell.surface = surface_resource; - cdata->shell.configure = _e_comp_wl_input_pointer_configure; - cdata->shell.map = _e_comp_wl_input_pointer_map; - } + cdata->shell.surface = surface_resource; + cdata->shell.configure = _e_comp_wl_input_pointer_configure; + cdata->shell.map = _e_comp_wl_input_pointer_map; e_client_layer_set(ec, E_LAYER_CLIENT_CURSOR); ec->is_cursor = EINA_TRUE;