Couple of fixes when setting window to fullscreen to avoid protocol error
In case of setting the window to fullscreen we need to provide the same xdg_surface buffer size as the one received in the configure event. This avoids the following error:
xdg_wm_base@8: error 4: xdg_surface buffer does not match the configured state
simple-egl-proto.txt
Edited by Marius Vlad