forked from enlightenment/efl
Remove dead code
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
6ca84f0486
commit
0de4add074
|
@ -161,14 +161,10 @@ ecore_wl_window_resize(Ecore_Wl_Window *win, int w, int h, int location)
|
|||
if ((win->type != ECORE_WL_WINDOW_TYPE_FULLSCREEN) ||
|
||||
(win->type != ECORE_WL_WINDOW_TYPE_DND))
|
||||
{
|
||||
/* win->allocation.w = w; */
|
||||
/* win->allocation.h = h; */
|
||||
|
||||
win->region.input =
|
||||
wl_compositor_create_region(_ecore_wl_disp->wl.compositor);
|
||||
wl_region_add(win->region.input,
|
||||
win->allocation.x, win->allocation.y, w, h);
|
||||
/* win->allocation.w, win->allocation.h); */
|
||||
}
|
||||
|
||||
ecore_wl_window_update_size(win, w, h);
|
||||
|
@ -325,22 +321,6 @@ ecore_wl_window_show(Ecore_Wl_Window *win)
|
|||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
/* if (win->type != ECORE_WL_WINDOW_TYPE_FULLSCREEN) */
|
||||
/* { */
|
||||
/* win->region.input = */
|
||||
/* wl_compositor_create_region(_ecore_wl_disp->wl.compositor); */
|
||||
/* wl_region_add(win->region.input, win->allocation.x, win->allocation.y, */
|
||||
/* win->allocation.w, win->allocation.h); */
|
||||
/* } */
|
||||
|
||||
/* if (!win->transparent) */
|
||||
/* { */
|
||||
/* win->region.opaque = */
|
||||
/* wl_compositor_create_region(_ecore_wl_disp->wl.compositor); */
|
||||
/* wl_region_add(win->region.opaque, win->allocation.x, win->allocation.y, */
|
||||
/* win->allocation.w, win->allocation.h); */
|
||||
/* } */
|
||||
}
|
||||
|
||||
EAPI void
|
||||
|
|
Loading…
Reference in New Issue