Update width & height
authorSung-jae Park <nicesj.park@samsung.com>
Mon, 6 Oct 2014 12:47:04 +0000 (21:47 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Mon, 6 Oct 2014 12:47:04 +0000 (21:47 +0900)
[model] Redwood,Kiran,B3(Wearable)
[binary_type] AP
[customer] Docomo/Orange/ATT/Open
[issue#] N/A
[problem]
[cause]
[solution]
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I3a7a4942e5a61b1c8677fd5e7cc6a4ec6d2d9b9a

src/dynamicbox.c

index 914d064..dee4d6e 100644 (file)
@@ -2152,9 +2152,9 @@ EAPI int dynamicbox_feed_mouse_event(dynamicbox_h handler, enum dynamicbox_mouse
                        flag = 0;
                }
 
+               w = handler->common->gbar.width;
+               h = handler->common->gbar.height;
                if (flag) {
-                       w = handler->common->gbar.width;
-                       h = handler->common->gbar.height;
                        handler->common->gbar.x = info->x;
                        handler->common->gbar.y = info->y;
                }
@@ -2214,9 +2214,9 @@ EAPI int dynamicbox_feed_mouse_event(dynamicbox_h handler, enum dynamicbox_mouse
                        flag = 0;
                }
 
+               w = handler->common->dbox.width;
+               h = handler->common->dbox.height;
                if (flag) {
-                       w = handler->common->dbox.width;
-                       h = handler->common->dbox.height;
                        handler->common->dbox.x = info->x;
                        handler->common->dbox.y = info->y;
                }