forked from enlightenment/enlightenment
Fix internal window borders on 32-bit computers
Our wayland window ids are 64 bit integers, we need to be careful about the data type on 32-bit machines where pointers are smaller than this.
This commit is contained in:
parent
57f62675cc
commit
a4fc286d7f
|
@ -238,7 +238,7 @@ _e_pixmap_find(E_Pixmap_Type type, va_list *l)
|
|||
Ecore_X_Window xwin;
|
||||
#endif
|
||||
#ifdef HAVE_WAYLAND
|
||||
intptr_t id;
|
||||
int64_t id;
|
||||
#endif
|
||||
E_Pixmap *cp;
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@ _e_elm_win_trap_show(void *data, Evas_Object *o)
|
|||
E_Client *ec;
|
||||
Ecore_Window win;
|
||||
#ifdef HAVE_WAYLAND
|
||||
uintptr_t wl_win_id;
|
||||
int64_t wl_win_id;
|
||||
#endif
|
||||
E_Pixmap_Type type = E_PIXMAP_TYPE_X;
|
||||
|
||||
|
|
Loading…
Reference in New Issue