Replace X dependent code 08/40908/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 3 Jun 2015 01:02:14 +0000 (10:02 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 10 Jun 2015 07:24:10 +0000 (16:24 +0900)
Change-Id: I525d40cc4dfc10d2baf4bfe72415f5fd7ddecc8c

src/sclcoreui-efl.cpp

index 0a24933..a89f99d 100644 (file)
@@ -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);