forked from enlightenment/efl
Ecore_Evas (Wayland_Shm): Fix ecore_evas_wayland_shm_resize function.
Does not exist anymore...being replaced with a more generic ecore_evas_wayland_resize funciton. SVN revision: 67129
This commit is contained in:
parent
c0dd6f7975
commit
ad51dd4bc3
|
@ -2,7 +2,7 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define LOGFNS 1
|
#define LOGFNS 1
|
||||||
|
|
||||||
#ifdef LOGFNS
|
#ifdef LOGFNS
|
||||||
# include <stdio.h>
|
# include <stdio.h>
|
||||||
|
@ -269,17 +269,6 @@ ecore_evas_wayland_shm_new(const char *disp_name, int x, int y, int w, int h, in
|
||||||
return ee;
|
return ee;
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI void
|
|
||||||
ecore_evas_wayland_shm_resize(Ecore_Evas *ee, int location)
|
|
||||||
{
|
|
||||||
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
|
||||||
|
|
||||||
if ((!ee) || (!ee->engine.wl.shell_surface)) return;
|
|
||||||
wl_shell_surface_resize(ee->engine.wl.shell_surface,
|
|
||||||
ecore_wl_input_device_get(),
|
|
||||||
_ecore_evas_wl_btn_timestamp, location);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* local functions */
|
/* local functions */
|
||||||
static int
|
static int
|
||||||
_ecore_evas_wl_init(void)
|
_ecore_evas_wl_init(void)
|
||||||
|
@ -1227,16 +1216,21 @@ _ecore_evas_wl_frame_add(Evas *evas)
|
||||||
return evas_object_smart_add(evas, _ecore_evas_wl_smart);
|
return evas_object_smart_add(evas, _ecore_evas_wl_smart);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
_ecore_evas_wayland_shm_resize(Ecore_Evas *ee, int location)
|
||||||
|
{
|
||||||
|
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
||||||
|
|
||||||
|
if ((!ee) || (!ee->engine.wl.shell_surface)) return;
|
||||||
|
wl_shell_surface_resize(ee->engine.wl.shell_surface,
|
||||||
|
ecore_wl_input_device_get(),
|
||||||
|
_ecore_evas_wl_btn_timestamp, location);
|
||||||
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
EAPI Ecore_Evas *
|
EAPI Ecore_Evas *
|
||||||
ecore_evas_wayland_shm_new(const char *disp_name __UNUSED__, int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__, int frame __UNUSED__)
|
ecore_evas_wayland_shm_new(const char *disp_name __UNUSED__, int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__, int frame __UNUSED__)
|
||||||
{
|
{
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI void
|
|
||||||
ecore_evas_wayland_shm_resize(Ecore_Evas *ee __UNUSED__, int location __UNUSED__)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue