forked from enlightenment/efl
ecore-wl windows now emit 0x0 configure sizes more reliably when fs/maximized
This commit is contained in:
parent
50da07d026
commit
daaca89790
|
@ -1039,11 +1039,10 @@ _ecore_xdg_handle_surface_configure(void *data, struct xdg_surface *xdg_surface
|
|||
}
|
||||
if ((width > 0) && (height > 0))
|
||||
_ecore_wl_window_configure_send(win, width, height, 0);
|
||||
else if (win->fullscreen || win->maximized)
|
||||
_ecore_wl_window_configure_send(win, 0, 0, 0);
|
||||
else
|
||||
{
|
||||
if ((win->saved.w != 1) || (win->saved.h != 1))
|
||||
_ecore_wl_window_configure_send(win, win->saved.w, win->saved.h, 0);
|
||||
}
|
||||
_ecore_wl_window_configure_send(win, win->saved.w, win->saved.h, 0);
|
||||
|
||||
if (win->xdg_surface)
|
||||
xdg_surface_ack_configure(win->xdg_surface, serial);
|
||||
|
|
Loading…
Reference in New Issue