From a4304e372322ed307b75fce9a451bc5c3e155670 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Wed, 3 Jun 2015 10:02:14 +0900 Subject: [PATCH] Replace X dependent code Change-Id: I525d40cc4dfc10d2baf4bfe72415f5fd7ddecc8c --- src/sclcoreui-efl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sclcoreui-efl.cpp b/src/sclcoreui-efl.cpp index 0a24933..a89f99d 100644 --- a/src/sclcoreui-efl.cpp +++ b/src/sclcoreui-efl.cpp @@ -457,7 +457,7 @@ sclwindow CSCLCoreUIEFL::create_option_window(SCLOptionWindowType type) elm_win_borderless_set(window, EINA_TRUE); Evas_Coord win_w = 0, win_h = 0; - ecore_x_window_size_get(ecore_x_window_root_first_get(), &win_w, &win_h); + elm_win_screen_size_get (window, NULL, NULL, &win_w, &win_h); int degree = get_screen_rotation_degree(); if(degree == 90 || degree == 270){ evas_object_resize(window, win_h, win_w); -- 2.7.4