int effect_type;
Eina_Bool use_splash : 1;
Eina_Bool saved_img : 1; // indicates that window has been saved as the image file even once
+ Eina_Bool skip_save_img: 1; // indicates that window doesn't want to save its image file
};
#define e_client_focus_policy_click(ec) \
static Eina_Bool
_image_save_type_check(E_Client *ec)
{
+ if (ec->skip_save_img) return EINA_FALSE;
+
if (e_policy_client_is_lockscreen(ec) ||
e_policy_client_is_home_screen(ec) ||
e_policy_client_is_quickpanel(ec) ||
#endif /* HAVE_REMOTE_SURFACE */
}
+EAPI void
+e_comp_wl_remote_surface_image_save_skip_set(E_Client *ec, Eina_Bool set)
+{
+ if (!e_config->save_win_buffer) return;
+ if (e_object_is_del(E_OBJECT(ec))) return;
+
+ ec->skip_save_img = set;
+}
+
+EAPI Eina_Bool
+e_comp_wl_remote_surface_image_save_skip_get(E_Client *ec)
+{
+ if (e_object_is_del(E_OBJECT(ec))) return EINA_FALSE;
+ return ec->skip_save_img;
+}
EINTERN void
e_comp_wl_remote_surface_debug_info_get(Eldbus_Message_Iter *iter)
EINTERN void e_comp_wl_remote_surface_shutdown(void);
EINTERN Eina_Bool e_comp_wl_remote_surface_commit(E_Client *ec);
EAPI void e_comp_wl_remote_surface_image_save(E_Client *ec);
+EAPI void e_comp_wl_remote_surface_image_save_skip_set(E_Client *ec, Eina_Bool set);
+EAPI Eina_Bool e_comp_wl_remote_surface_image_save_skip_get(E_Client *ec);
EINTERN void e_comp_wl_remote_surface_debug_info_get(Eldbus_Message_Iter *iter);
EAPI E_Client* e_comp_wl_remote_surface_bound_provider_ec_get(E_Client *ec);