Revert "elementary: Fix elm_win_window_id_get for wayland"
This reverts commit 257452f46d344b64d611aa555a8aacdd509a492e. Have to revert this as it breaks E compositor functionality wrt pixmap id.
This commit is contained in:
parent
22a8c71877
commit
7e54ec6ca1
|
@ -5098,13 +5098,13 @@ _elm_win_window_id_get(Eo *obj EINA_UNUSED, Elm_Win_Data *sd)
|
|||
(!strcmp(engine_name, ELM_WAYLAND_EGL)))))
|
||||
{
|
||||
#if HAVE_ELEMENTARY_WAYLAND
|
||||
if (sd->wl.win) return (Ecore_Window)ecore_wl_window_id_get(sd->wl.win);
|
||||
if (sd->wl.win) return (Ecore_Window)ecore_wl_window_surface_id_get(sd->wl.win);
|
||||
if (sd->parent)
|
||||
{
|
||||
Ecore_Wl_Window *parent;
|
||||
|
||||
parent = elm_win_wl_window_get(sd->parent);
|
||||
if (parent) return (Ecore_Window)ecore_wl_window_id_get(parent);
|
||||
if (parent) return (Ecore_Window)ecore_wl_window_surface_id_get(parent);
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue