forked from enlightenment/enlightenment
determine new_client state for xwayland clients using xwayland pixmap
in the case where the xwayland pixmap has previously been marked as usable, the corresponding client is guaranteed to have gone through the new_client eval. allowing a second eval will result in wrong geometries being set for the window in some cases
This commit is contained in:
parent
b10344899d
commit
fabf2de023
|
@ -1024,6 +1024,10 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
|
|||
int x = 0, y = 0, w, h;
|
||||
|
||||
first = !e_pixmap_usable_get(ec->pixmap);
|
||||
#ifndef HAVE_WAYLAND_ONLY
|
||||
if (first && e_client_has_xwindow(ec))
|
||||
first = !e_pixmap_usable_get(e_comp_x_client_pixmap_get(ec));
|
||||
#endif
|
||||
ignored = ec->ignored;
|
||||
|
||||
if (state->new_attach)
|
||||
|
|
Loading…
Reference in New Issue