Modified to update screen after changing position 03/79503/2
authorJi-hoon Lee <dalton.lee@samsung.com>
Mon, 11 Jul 2016 13:15:59 +0000 (22:15 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Mon, 11 Jul 2016 13:27:20 +0000 (22:27 +0900)
Change-Id: Icd07fbb871773da34573ae6941b70b7b119cfb87

scl/scluiimpl.cpp

index 0a8d735..809ccfc 100644 (file)
@@ -712,8 +712,12 @@ CSCLUIImpl::set_custom_starting_coordinates(sclint x, sclint y)
 {
     if (m_initialized) {
         CSCLResourceCache *cache = CSCLResourceCache::get_instance();
+        CSCLWindows *windows = CSCLWindows::get_instance();
         if (cache) {
             cache->set_custom_starting_coordinates(x, y);
+            if (windows) {
+                cache->recompute_layout(windows->get_base_window());
+            }
         }
     }
 }