static bool __manual_render;
static bool __iconified = false;
static bool __is_bound = false;
-static int __viewer_visibility = AUL_SCREEN_STATUS_PAUSE;
+static int __viewer_visibility = AUL_SCREEN_STATUS_RESUME;
static GList *__dead_cbs;
struct dead_cb_s {
evas_object_data_set(__win, "tbm,watch", image);
screen_connector_toolkit_evas_get_rid(image, (int *)&__watch_rid);
__flush_pending_queue(__watch_rid);
+ __change_viewer_visibility(__viewer_visibility, false);
}
static void __screen_connector_toolkit_evas_removed_cb(const char *appid, const char *instance_id, int pid,
app_control_add_extra_data(*app_control, "WATCH_WIDTH", buf);
snprintf(buf, sizeof(buf), "%d", __watch_screen_get_height());
app_control_add_extra_data(*app_control, "WATCH_HEIGHT", buf);
+ snprintf(buf, sizeof(buf), "%d", __viewer_visibility);
+ app_control_add_extra_data(*app_control, "WATCH_VIEWER_VISIBILITY", buf);
app_control_set_operation(*app_control, APP_CONTROL_OPERATION_MAIN);