Fix the option window's position issue in rotate mode 06/59606/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 17 Feb 2016 00:49:42 +0000 (09:49 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 17 Feb 2016 00:49:42 +0000 (09:49 +0900)
Change-Id: I90732f5532a5af61eb64869ec78f3b5ca527ebb0

src/sclcoreui-efl.cpp

index 996b741..d303585 100644 (file)
@@ -645,8 +645,7 @@ sclwindow CSCLCoreUIEFL::create_option_window(SCLOptionWindowType type)
 
     Evas_Object *window = elm_win_util_standard_add("Option window", "Option window");
 
-    elm_win_borderless_set(window, EINA_TRUE);
-
+#ifndef WAYLAND
     Evas_Coord win_w = 0, win_h = 0;
     elm_win_screen_size_get(window, NULL, NULL, &win_w, &win_h);
     int degree = get_screen_rotation_degree();
@@ -655,6 +654,7 @@ sclwindow CSCLCoreUIEFL::create_option_window(SCLOptionWindowType type)
     } else {
         evas_object_resize(window, win_w, win_h);
     }
+#endif
 
     int rots[] = { 0, 90, 180, 270 };
     elm_win_wm_rotation_available_rotations_set(window, rots, (sizeof(rots) / sizeof(int)));