forked from enlightenment/enlightenment
Fix issue of using the wrong id when finding pixmap client
Previously, we were passing in the wl window id into the pixmap_find_client function. This is improper as the e_pixmap_new functions take the surface resource id. To solve this, we will get the Ecore_Wl2_window from the Evas_Object, fetch the surface id from that, then pass those into e_pixmap_find_client. This resolves an issue where the everything module was not working properly. ref T3058 Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
This commit is contained in:
parent
67170f40a1
commit
1b36f93956
|
@ -79,11 +79,13 @@ _e_elm_win_trap_show(void *data, Evas_Object *o)
|
||||||
#ifdef HAVE_WAYLAND
|
#ifdef HAVE_WAYLAND
|
||||||
if (!strncmp(ecore_evas_engine_name_get(ee), "wayland", 7))
|
if (!strncmp(ecore_evas_engine_name_get(ee), "wayland", 7))
|
||||||
{
|
{
|
||||||
|
Ecore_Wl2_Window *ewin = elm_win_wl_window_get(o);
|
||||||
|
|
||||||
type = E_PIXMAP_TYPE_WL;
|
type = E_PIXMAP_TYPE_WL;
|
||||||
ecore_evas_object_cursor_set(ee, NULL, 0, 0, 0);
|
ecore_evas_object_cursor_set(ee, NULL, 0, 0, 0);
|
||||||
ctx->pointer = e_comp->pointer;
|
ctx->pointer = e_comp->pointer;
|
||||||
elm_win_borderless_set(o, 1);
|
elm_win_borderless_set(o, 1);
|
||||||
wl_win_id = win;
|
wl_win_id = ecore_wl2_window_surface_id_get(ewin);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue