else {
LOGW("### No update window callback ###");
}
+
+ CSCLWindows *windows = CSCLWindows::get_instance();
+ CSCLUtils *utils = CSCLUtils::get_instance();
+ SclWindowContext *window_context = NULL;
+
+ if (windows && window) {
+ window_context = windows->get_window_context(window);
+ }
+ if (windows && utils && window_context) {
+ if (window_context->is_virtual) {
+ SclWindowContext *base_window_context = windows->get_window_context(windows->get_base_window());
+ if (base_window_context) {
+ updatearea.x += (window_context->geometry.x - base_window_context->geometry.x);
+ updatearea.y += (window_context->geometry.y - base_window_context->geometry.y);
+ }
+ }
+ CSCLUIBuilder *builder = CSCLUIBuilder::get_instance();
+ builder->show_layout(window, x, y, width, height);
+ }
}
/**