#include "page_scroller.h"
#include "util.h"
-#define STR_ENV_ENGINE "LAUNCHER_ENGINE"
+#define STR_ENV_ENGINE "ELM_ENGINE"
#define STR_ENV_FPS "LAUNCHER_FPS"
#define LAYOUT_EDJE_PORTRAIT EDJEDIR"/layout_portrait.edj"
.is_done = false,
};
-
+static void _set_scale(void);
Evas *menu_screen_get_evas(void)
{
}
elm_win_borderless_set(menu_screen_info.win, EINA_TRUE);
+#if 0
+ /* X Specific */
ecore_x_icccm_name_class_set(elm_win_xwindow_get(menu_screen_info.win), "MENU_SCREEN", "MENU_SCREEN");
ATOM_WM_WINDOW_ROLE = ecore_x_atom_get("WM_WINDOW_ROLE");
if (ATOM_WM_WINDOW_ROLE) {
} else {
_D("Failed to set the window role as MENU_SCREEN");
}
+#endif
+
+ /* have to call this after elm_win_add() in wayland */
+ _set_scale();
menu_screen_info.evas = evas_object_evas_get(menu_screen_info.win);
if (!menu_screen_info.evas) {
static int _dead_cb(int pid, void *data)
{
+#if 0
+ /* X Specific */
utilx_hide_fake_effect(
ecore_x_display_get(),
ecore_x_window_root_get(ecore_evas_window_get(menu_screen_info.ee))
);
+#endif
return EXIT_SUCCESS;
}
{
Evas_Object *layout;
+#if 0
+ /* Move this call to be executed after window is created */
_set_scale();
+#endif
+
retv_if(MENU_SCREEN_ERROR_FAIL == _create_canvas(PACKAGE, PACKAGE), EXIT_FAILURE);
elm_win_indicator_mode_set(menu_screen_info.win, ELM_WIN_INDICATOR_SHOW);
_E("Failed to set memory/idle/top to 1");
}
+#if 0
+ /* X Specific */
utilx_hide_fake_effect(
ecore_x_display_get(),
ecore_x_window_root_get(ecore_evas_window_get(menu_screen_info.ee))
);
+#endif
menu_screen_info.state = APP_STATE_RESUME;
}
_E("Failed to set memory/idle/top to 1");
}
+#if 0
+ /* X Specific */
utilx_hide_fake_effect(
ecore_x_display_get(),
ecore_x_window_root_get(ecore_evas_window_get(menu_screen_info.ee))
);
+#endif
}