merge with master
authorJinkun Jang <jinkun.jang@samsung.com>
Fri, 15 Mar 2013 16:03:42 +0000 (01:03 +0900)
committerJinkun Jang <jinkun.jang@samsung.com>
Fri, 15 Mar 2013 16:03:42 +0000 (01:03 +0900)
src/bt-syspopup.c

index d152863..d12ad92 100644 (file)
@@ -605,7 +605,7 @@ static void __bluetooth_draw_popup(struct bt_popup_appdata *ad,
        xwin = elm_win_xwindow_get(ad->popup);
        ecore_x_netwm_window_type_set(xwin, ECORE_X_WINDOW_TYPE_NOTIFICATION);
        utilx_set_system_notification_level(ecore_x_display_get(), xwin,
-                               UTILX_NOTIFICATION_LEVEL_NORMAL);
+                               UTILX_NOTIFICATION_LEVEL_HIGH);
 
        evas_object_show(ad->popup);
        evas_object_show(ad->win_main);
@@ -628,6 +628,7 @@ static void __bluetooth_draw_input_view(struct bt_popup_appdata *ad,
        Evas_Object *check = NULL;
        Evas_Object *l_button = NULL;
        Evas_Object *r_button = NULL;
+       Ecore_X_Window xwin;
 
        if (ad == NULL || ad->win_main == NULL) {
                BT_ERR("Invalid parameter");
@@ -733,6 +734,11 @@ static void __bluetooth_draw_input_view(struct bt_popup_appdata *ad,
        elm_object_part_content_set(layout, "elm.swallow.entry", editfield);
        elm_object_part_content_set(layout, "elm.swallow.end", check);
 
+       xwin = elm_win_xwindow_get(ad->popup);
+       ecore_x_netwm_window_type_set(xwin, ECORE_X_WINDOW_TYPE_NOTIFICATION);
+       utilx_set_system_notification_level(ecore_x_display_get(), xwin,
+                               UTILX_NOTIFICATION_LEVEL_HIGH);
+
        evas_object_show(layout);
        evas_object_show(content);
        evas_object_show(passpopup);