summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhhh.kwon <hhh.kwon@samsung.com>2013-06-28 10:28:22 (GMT)
committerhhh.kwon <hhh.kwon@samsung.com>2013-06-28 10:28:22 (GMT)
commit8d0a39c6e73acc58d1d928bf9c08b8dadb89753a (patch)
treeef62d6fbf33b176074e22a86a1db73e799a6d39d
parent67031e3fe3b6314da2ffd1cd09a3a785766b8268 (diff)
parentceeff68d8d6ede5a0c928d265d731c3404a59df7 (diff)
downloadstarter-8d0a39c6e73acc58d1d928bf9c08b8dadb89753a.zip
starter-8d0a39c6e73acc58d1d928bf9c08b8dadb89753a.tar.gz
starter-8d0a39c6e73acc58d1d928bf9c08b8dadb89753a.tar.bz2
Merge branch 'master' into tizen_2.2
-rwxr-xr-xsrc/hw_key.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/hw_key.c b/src/hw_key.c
index 7e4c3fc..ee51cb2 100755
--- a/src/hw_key.c
+++ b/src/hw_key.c
@@ -262,15 +262,16 @@ void _media_key_event_cb(media_key_e key, media_key_event_e status, void *user_d
void create_key_window(void)
{
- key_info.win = ecore_x_window_input_new(0, 0, 0, 1, 1);
+ key_info.win = ecore_x_window_input_new(0, -10000, -10000, 1, 1);
if (!key_info.win) {
_D("Failed to create hidden window");
return;
}
- ecore_x_event_mask_unset(key_info.win, ECORE_X_EVENT_MASK_NONE);
+ //ecore_x_event_mask_unset(key_info.win, ECORE_X_EVENT_MASK_NONE);
ecore_x_icccm_title_set(key_info.win, "menudaemon,key,receiver");
ecore_x_netwm_name_set(key_info.win, "menudaemon,key,receiver");
ecore_x_netwm_pid_set(key_info.win, getpid());
+ ecore_x_flush();
utilx_grab_key(ecore_x_display_get(), key_info.win, KEY_HOME, SHARED_GRAB);
utilx_grab_key(ecore_x_display_get(), key_info.win, KEY_VOLUMEDOWN, SHARED_GRAB);