[ozone/wayland] Fixed wrong behaviour on maximize/restore.
The handler of configure surface events didn't take whether the window had normal state when responding to zero width and height passed by the compositor. This resulted in unnecessary restoring of window size when it should remain maximized of expanded to full screen. This CL fixes the behaviour and improves the test to cover the scenario explained above. R=msisov@igalia.com Bug: 934686 Change-Id: I4dd7e01484ccea663f0e0012288d6de70e48ad06 Reviewed-on: https://chromium-review.googlesource.com/c/1489195 Commit-Queue: Alexander Dunaev <adunaev@igalia.com> Reviewed-by:Maksim Sisov <msisov@igalia.com> Cr-Commit-Position: refs/heads/master@{#636757}
Showing
Please register or sign in to comment