summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjin0.kim <jin0.kim@samsung.com>2016-04-21 13:27:57 +0830
committerjin0.kim <jin0.kim@samsung.com>2016-04-21 13:27:57 +0830
commitbfc439e39668f062ee208eece70f0f93b124bea1 (patch)
tree99066340d06162224f3eb454778f039389ec805c
parentbd4fd485cf192b479e6709721a0bd3ac127abc9a (diff)
downloadquickpanel-bfc439e39668f062ee208eece70f0f93b124bea1.tar.gz
quickpanel-bfc439e39668f062ee208eece70f0f93b124bea1.tar.bz2
quickpanel-bfc439e39668f062ee208eece70f0f93b124bea1.zip
update tzsh_quickpanel_service_content_region_set
Change-Id: I3a21818b177c97b4fb696d454e9e788c40c89ffd
-rwxr-xr-xdaemon/quickpanel-ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/quickpanel-ui.c b/daemon/quickpanel-ui.c
index 1eb1871..cefa22c 100755
--- a/daemon/quickpanel-ui.c
+++ b/daemon/quickpanel-ui.c
@@ -161,7 +161,7 @@ static void _ui_handler_input_region_set(void *data, int contents_height)
,window_input_region[3]
);
- tzsh_region_add(region, 0, contents_height, ad->win_width, ELM_SCALE_SIZE(QP_HANDLE_H));
+ tzsh_region_add(region, window_input_region[0], window_input_region[1], window_input_region[2], window_input_region[3]);
tzsh_quickpanel_service_handler_region_set(ad->quickpanel_service, ad->angle, region);
tzsh_region_destroy(region);
}
@@ -213,7 +213,7 @@ static void _ui_handler_content_region_set(void *data, int contents_height)
,window_contents_region[3]
);
- tzsh_region_add(region, 0, contents_height, ad->win_width, ELM_SCALE_SIZE(QP_HANDLE_H));
+ tzsh_region_add(region, window_contents_region[0], window_contents_region[1], window_contents_region[2], window_contents_region[3]);
tzsh_quickpanel_service_content_region_set(ad->quickpanel_service, ad->angle, region);
tzsh_region_destroy(region);