forked from enlightenment/efl
Ecore_wayland: Fix calls to update_modifier state and pass the proper
paramaters. Only set input & opaque regions during resize. SVN revision: 74325
This commit is contained in:
parent
8381ac5f55
commit
a32308d4e8
|
@ -252,6 +252,7 @@ _ecore_wl_input_del(Ecore_Wl_Input *input)
|
||||||
input->selection_source = NULL;
|
input->selection_source = NULL;
|
||||||
|
|
||||||
if (input->data_device) wl_data_device_destroy(input->data_device);
|
if (input->data_device) wl_data_device_destroy(input->data_device);
|
||||||
|
|
||||||
if (input->xkb.state)
|
if (input->xkb.state)
|
||||||
xkb_state_unref(input->xkb.state);
|
xkb_state_unref(input->xkb.state);
|
||||||
if (input->xkb.keymap)
|
if (input->xkb.keymap)
|
||||||
|
|
|
@ -356,21 +356,21 @@ ecore_wl_window_show(Ecore_Wl_Window *win)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (win->type != ECORE_WL_WINDOW_TYPE_FULLSCREEN)
|
/* if (win->type != ECORE_WL_WINDOW_TYPE_FULLSCREEN) */
|
||||||
{
|
/* { */
|
||||||
win->region.input =
|
/* win->region.input = */
|
||||||
wl_compositor_create_region(_ecore_wl_disp->wl.compositor);
|
/* wl_compositor_create_region(_ecore_wl_disp->wl.compositor); */
|
||||||
wl_region_add(win->region.input, win->allocation.x, win->allocation.y,
|
/* wl_region_add(win->region.input, win->allocation.x, win->allocation.y, */
|
||||||
win->allocation.w, win->allocation.h);
|
/* win->allocation.w, win->allocation.h); */
|
||||||
}
|
/* } */
|
||||||
|
|
||||||
if (!win->transparent)
|
/* if (!win->transparent) */
|
||||||
{
|
/* { */
|
||||||
win->region.opaque =
|
/* win->region.opaque = */
|
||||||
wl_compositor_create_region(_ecore_wl_disp->wl.compositor);
|
/* wl_compositor_create_region(_ecore_wl_disp->wl.compositor); */
|
||||||
wl_region_add(win->region.opaque, win->allocation.x, win->allocation.y,
|
/* wl_region_add(win->region.opaque, win->allocation.x, win->allocation.y, */
|
||||||
win->allocation.w, win->allocation.h);
|
/* win->allocation.w, win->allocation.h); */
|
||||||
}
|
/* } */
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue