forked from enlightenment/efl
ecore/wayland: Remove attributes that are not used anymore.
Some attributes might have been useful in the past, but not anymore. Just remove since they are not been used anywhere.
This commit is contained in:
parent
a96b421fd4
commit
277a5915c1
|
@ -132,7 +132,7 @@ struct _Ecore_Wl_Window
|
|||
struct
|
||||
{
|
||||
int w, h;
|
||||
} saved, server;
|
||||
} saved;
|
||||
|
||||
struct
|
||||
{
|
||||
|
|
|
@ -212,8 +212,6 @@ ecore_wl_window_buffer_attach(Ecore_Wl_Window *win, struct wl_buffer *buffer, in
|
|||
switch (win->buffer_type)
|
||||
{
|
||||
case ECORE_WL_WINDOW_BUFFER_TYPE_EGL_WINDOW:
|
||||
win->server.w = win->allocation.w;
|
||||
win->server.h = win->allocation.h;
|
||||
break;
|
||||
case ECORE_WL_WINDOW_BUFFER_TYPE_EGL_IMAGE:
|
||||
case ECORE_WL_WINDOW_BUFFER_TYPE_SHM:
|
||||
|
@ -226,9 +224,6 @@ ecore_wl_window_buffer_attach(Ecore_Wl_Window *win, struct wl_buffer *buffer, in
|
|||
wl_surface_damage(win->surface, 0, 0,
|
||||
win->allocation.w, win->allocation.h);
|
||||
wl_surface_commit(win->surface);
|
||||
|
||||
win->server.w = win->allocation.w;
|
||||
win->server.h = win->allocation.h;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
|
|
@ -277,14 +277,7 @@ _ecore_evas_wl_common_cb_window_configure(void *data EINA_UNUSED, int type EINA_
|
|||
|
||||
if (wdata->win)
|
||||
{
|
||||
Ecore_Wl_Window *win;
|
||||
|
||||
win = wdata->win;
|
||||
|
||||
_ecore_evas_wayland_resize_edge_set(ee, ev->edges);
|
||||
|
||||
win->server.w = win->allocation.w;
|
||||
win->server.h = win->allocation.h;
|
||||
ecore_wl_window_update_size(wdata->win, ev->w, ev->h);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -325,15 +325,7 @@ _ecore_evas_wl_resize(Ecore_Evas *ee, int w, int h)
|
|||
evas_object_resize(wdata->frame, w, h);
|
||||
|
||||
if (wdata->win)
|
||||
{
|
||||
Ecore_Wl_Window *win;
|
||||
|
||||
win = wdata->win;
|
||||
|
||||
win->server.w = win->allocation.w;
|
||||
win->server.h = win->allocation.h;
|
||||
ecore_wl_window_update_size(wdata->win, w, h);
|
||||
}
|
||||
ecore_wl_window_update_size(wdata->win, w, h);
|
||||
|
||||
if (ee->func.fn_resize) ee->func.fn_resize(ee);
|
||||
}
|
||||
|
|
|
@ -319,15 +319,7 @@ _ecore_evas_wl_resize(Ecore_Evas *ee, int w, int h)
|
|||
evas_object_resize(wdata->frame, w, h);
|
||||
|
||||
if (wdata->win)
|
||||
{
|
||||
Ecore_Wl_Window *win;
|
||||
|
||||
win = wdata->win;
|
||||
|
||||
win->server.w = win->allocation.w;
|
||||
win->server.h = win->allocation.h;
|
||||
ecore_wl_window_update_size(wdata->win, w, h);
|
||||
}
|
||||
ecore_wl_window_update_size(wdata->win, w, h);
|
||||
|
||||
if (ee->func.fn_resize) ee->func.fn_resize(ee);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue