elm: do not set input region 37/171537/3
authorShinwoo Kim <cinoo.kim@samsung.com>
Mon, 5 Mar 2018 10:29:50 +0000 (19:29 +0900)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Wed, 14 Mar 2018 05:40:23 +0000 (05:40 +0000)
If a window is not a full screen, then the window has used
geometry of "elm.spacer.opaque" part for its input region.

This geometry value is not correct at first launching time,
if window does not have its resize object.

For example the keyboard shows with "0, 0, 63, 0" input region,
and the keyboard could not get touch events from the window manager.

*tizen_only

Change-Id: I1824649f67674befe59514fa119fb5c000013580

src/lib/elementary/efl_ui_win.c

index 1702f5d..57d6844 100644 (file)
@@ -1658,7 +1658,13 @@ _elm_win_opaque_update(Efl_Ui_Win_Data *sd, Eina_Bool force_alpha)
 
    /* FIXME: Replace with call to ecore_evas_shadow_geometry_set(). */
    ecore_wl2_window_geometry_set(sd->wl.win, ox, oy, ow, oh);
+   //TIZEN_ONLY(20180305) remove side effect of input region
+   /*
+   //
    ecore_wl2_window_input_region_set(sd->wl.win, ox, oy, ow, oh);
+   //TIZEN_ONLY(20180305) remove side effect of input region
+   */
+   //
 #else
    (void)sd;
    (void)force_alpha;