forked from enlightenment/efl
ecore_evas/wayland: Implement ecore_evas_withdrawn_set.
Just call ecore_evas_show/hide inside the function.
This commit is contained in:
parent
5966a730cd
commit
ff5533b4e1
|
@ -1285,6 +1285,17 @@ _ecore_evas_wl_common_render(Ecore_Evas *ee)
|
||||||
return rend;
|
return rend;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
_ecore_evas_wl_common_withdrawn_set(Ecore_Evas *ee, int val)
|
||||||
|
{
|
||||||
|
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
||||||
|
|
||||||
|
if (val)
|
||||||
|
ecore_evas_hide(ee);
|
||||||
|
else
|
||||||
|
ecore_evas_show(ee);
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
_ecore_evas_wl_common_screen_geometry_get(const Ecore_Evas *ee EINA_UNUSED, int *x, int *y, int *w, int *h)
|
_ecore_evas_wl_common_screen_geometry_get(const Ecore_Evas *ee EINA_UNUSED, int *x, int *y, int *w, int *h)
|
||||||
{
|
{
|
||||||
|
|
|
@ -59,7 +59,7 @@ static Ecore_Evas_Engine_Func _ecore_wl_engine_func =
|
||||||
_ecore_evas_wl_common_maximized_set,
|
_ecore_evas_wl_common_maximized_set,
|
||||||
_ecore_evas_wl_common_fullscreen_set,
|
_ecore_evas_wl_common_fullscreen_set,
|
||||||
NULL, // func avoid_damage set
|
NULL, // func avoid_damage set
|
||||||
NULL, // func withdrawn set
|
_ecore_evas_wl_common_withdrawn_set,
|
||||||
NULL, // func sticky set
|
NULL, // func sticky set
|
||||||
_ecore_evas_wl_common_ignore_events_set,
|
_ecore_evas_wl_common_ignore_events_set,
|
||||||
_ecore_evas_wl_alpha_set,
|
_ecore_evas_wl_alpha_set,
|
||||||
|
|
|
@ -76,6 +76,7 @@ void _ecore_evas_wl_common_screen_dpi_get(const Ecore_Evas *ee, int *xdpi, int *
|
||||||
void _ecore_evas_wl_common_render_updates(void *data, Evas *evas, void *event);
|
void _ecore_evas_wl_common_render_updates(void *data, Evas *evas, void *event);
|
||||||
void _ecore_evas_wl_common_rotation_set(Ecore_Evas *ee, int rotation, int resize);
|
void _ecore_evas_wl_common_rotation_set(Ecore_Evas *ee, int rotation, int resize);
|
||||||
void _ecore_evas_wl_common_borderless_set(Ecore_Evas *ee, int borderless);
|
void _ecore_evas_wl_common_borderless_set(Ecore_Evas *ee, int borderless);
|
||||||
|
void _ecore_evas_wl_common_withdrawn_set(Ecore_Evas *ee, int val);
|
||||||
|
|
||||||
Evas_Object * _ecore_evas_wl_common_frame_add(Evas *evas);
|
Evas_Object * _ecore_evas_wl_common_frame_add(Evas *evas);
|
||||||
void _ecore_evas_wl_common_frame_border_size_set(Evas_Object *obj, int fx, int fy, int fw, int fh);
|
void _ecore_evas_wl_common_frame_border_size_set(Evas_Object *obj, int fx, int fy, int fw, int fh);
|
||||||
|
|
|
@ -59,7 +59,7 @@ static Ecore_Evas_Engine_Func _ecore_wl_engine_func =
|
||||||
_ecore_evas_wl_common_maximized_set,
|
_ecore_evas_wl_common_maximized_set,
|
||||||
_ecore_evas_wl_common_fullscreen_set,
|
_ecore_evas_wl_common_fullscreen_set,
|
||||||
NULL, // func avoid_damage set
|
NULL, // func avoid_damage set
|
||||||
NULL, // func withdrawn set
|
_ecore_evas_wl_common_withdrawn_set,
|
||||||
NULL, // func sticky set
|
NULL, // func sticky set
|
||||||
_ecore_evas_wl_common_ignore_events_set,
|
_ecore_evas_wl_common_ignore_events_set,
|
||||||
_ecore_evas_wl_alpha_set,
|
_ecore_evas_wl_alpha_set,
|
||||||
|
|
Loading…
Reference in New Issue