summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2014-04-27 03:17:01 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-04-27 03:17:02 +0900
commit26ad9b6bac7447445a9bfcfc1befc5a6d44dfee5 (patch)
tree983daf5c5309f6df55359236907dd2a030e88770 /src/lib
parentf6893a3e0cb97fbc93429cb3310d4da180966893 (diff)
gengrid: ignore key events if item reorder is going on.
Summary: This was missed in 43eb52e159. Test Plan: elementary_test->"Gengrid Focus" and enable "reorder mode" by clicking "redorder mode enable" checkbox. Move the items by direction keys. Reviewers: raster, seoz Reviewed By: seoz CC: seoz Differential Revision: https://phab.enlightenment.org/D801
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/elm_gengrid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c
index 69a68004b..dd30714cc 100644
--- a/src/lib/elm_gengrid.c
+++ b/src/lib/elm_gengrid.c
@@ -2174,6 +2174,8 @@ _key_action_move(Evas_Object *obj, const char *params)
2174 elm_interface_scrollable_content_viewport_geometry_get 2174 elm_interface_scrollable_content_viewport_geometry_get
2175 (NULL, NULL, &v_w, &v_h)); 2175 (NULL, NULL, &v_w, &v_h));
2176 2176
2177 if (sd->reorder_mode && sd->reorder.running) return EINA_TRUE;
2178
2177 if (!strcmp(dir, "left")) 2179 if (!strcmp(dir, "left"))
2178 { 2180 {
2179 if (sd->reorder_mode) 2181 if (sd->reorder_mode)