fix for applying wayland (removing X)
[apps/home/settings.git] / setting-profile / src / setting-profile-common.c
index c2e5f7d..1e6c8a1 100644 (file)
@@ -24,7 +24,6 @@
 #include <dirent.h>
 #include <iniparser.h>
 #include <utilX.h>
-#include <Ecore_X.h>
 #include <app_manager.h>
 #include <metadata_extractor.h>
 #include <player.h>
@@ -838,6 +837,7 @@ void __setting_sound_ug_key_grab(SettingProfileUG *ad)
        /* To prevent conflict with volume app */
        vconf_set_int(VCONFKEY_STARTER_USE_VOLUME_KEY, 2);
 
+#if 0
        disp = ecore_x_display_get();
        xwin = elm_win_xwindow_get(ad->win_get);
 
@@ -849,6 +849,7 @@ void __setting_sound_ug_key_grab(SettingProfileUG *ad)
        if (ret) {
                SETTING_TRACE_DEBUG("KEY_VOLUMEDOWN grab failed");
        }
+#endif
        if (ad->keydown_handler) {
                ecore_event_handler_del(ad->keydown_handler);
                ad->keydown_handler = NULL;