discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=3762dd6cafc11607e4e29a83eb934c8ae63751e8

commit 3762dd6cafc11607e4e29a83eb934c8ae63751e8
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Sep 21 14:56:54 2015 -0400

    send FLOAT_SET edje messages during desk flip
    
    panoramic wallpapers are created to expect this type of message
    
    ref T2219
---
 src/bin/e_desk.c | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/src/bin/e_desk.c b/src/bin/e_desk.c
index a86cd6b..77f157a 100644
--- a/src/bin/e_desk.c
+++ b/src/bin/e_desk.c
@@ -213,7 +213,7 @@ e_desk_show(E_Desk *desk)
    E_Event_Desk_Show *ev;
    E_Event_Desk_Before_Show *eev;
    E_Event_Desk_After_Show *eeev;
-   Edje_Message_Int_Set *msg;
+   Edje_Message_Float_Set *msg;
    Eina_List *l;
    E_Shelf *es;
    E_Desk *desk2;
@@ -263,14 +263,15 @@ e_desk_show(E_Desk *desk)
    desk->zone->desk_y_current = desk->y;
    desk->visible = 1;
 
-   msg = alloca(sizeof(Edje_Message_Int_Set) + (3 * sizeof(int)));
-   msg->count = 4;
-   msg->val[0] = desk->x;
-   msg->val[1] = desk->zone->desk_x_count;
-   msg->val[2] = desk->y;
-   msg->val[3] = desk->zone->desk_y_count;
+   msg = alloca(sizeof(Edje_Message_Float_Set) + (4 * sizeof(double)));
+   msg->count = 5;
+   msg->val[0] = 0.2 * 
(!!e_config->desk_flip_animate_mode);//e_config->desk_flip_animate_time;
+   msg->val[1] = desk->x;
+   msg->val[2] = desk->zone->desk_x_count;
+   msg->val[3] = desk->y;
+   msg->val[4] = desk->zone->desk_y_count;
    if (desk->zone->bg_object)
-     edje_object_message_send(desk->zone->bg_object, EDJE_MESSAGE_INT_SET, 0, 
msg);
+     edje_object_message_send(desk->zone->bg_object, EDJE_MESSAGE_FLOAT_SET, 
0, msg);
 
    if (desk->zone->bg_object) was_zone = 1;
    _e_desk_show_begin(desk, dx, dy);

-- 


Reply via email to