ecore-wl2: Send surface_commit after ack_configure

Small patch to ensure we send a surface commit after sending the
ack_configure. This fixes an issue where E-WL internal windows would
not maximize.

Fixes T5192

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2017-03-01 10:25:35 -05:00
parent c6b59be1da
commit 1187035fe6
1 changed files with 4 additions and 2 deletions

View File

@ -185,9 +185,11 @@ _zxdg_surface_cb_configure(void *data, struct zxdg_surface_v6 *zxdg_surface, uin
Ecore_Wl2_Window *window;
Ecore_Wl2_Event_Window_Configure_Complete *ev;
zxdg_surface_v6_ack_configure(zxdg_surface, serial);
window = data;
zxdg_surface_v6_ack_configure(zxdg_surface, serial);
wl_surface_commit(window->surface);
if (!window->pending.configure) return;
window->pending.configure = EINA_FALSE;