raster pushed a commit to branch master.

http://git.enlightenment.org/apps/rage.git/commit/?id=f045398c0f5bfcc35284d7f9863087d59e76b0c6

commit f045398c0f5bfcc35284d7f9863087d59e76b0c6
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Sat Aug 9 14:49:14 2014 +0900

    rage - gesture layer - move below dragbar and such controls
---
 data/themes/default.edc | 5 +++++
 src/bin/win.c           | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/data/themes/default.edc b/data/themes/default.edc
index 2d41ec5..d82f2af 100644
--- a/data/themes/default.edc
+++ b/data/themes/default.edc
@@ -446,6 +446,11 @@ collections {
             }
          }
 
+         part { name: "rage.gesture"; type: SWALLOW;
+            description { state: "default" 0.0;
+            }
+         }
+
          part { name: "rage.list"; type: SWALLOW;
             description { state: "default" 0.0;
                align: 0.0 0.5;
diff --git a/src/bin/win.c b/src/bin/win.c
index 69eab61..c473d74 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -308,8 +308,9 @@ win_add(void)
                                   _cb_mouse_move, win);
    evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_IN,
                                   _cb_mouse_move, win);
-   dnd_init(win, o);
+   elm_object_part_content_set(inf->lay, "rage.gesture", o);
    gesture_init(win, o);
+   dnd_init(win, o);
 
    o = elm_button_add(win);
    evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);

-- 


Reply via email to