[ozone/wayland] Notify client about each state change from WM.

Notify the client about window state changes instantiated from a window
manager side. Those changes are results of shortcut keys
like ALT+F10 (maximize/unmaximize) or super+H (minimize).

Also remove the DCHECKs to avoid crashes due to theoretical races
between requests to change state of a window and a response back
from a WM.

Bug: 784836, 578890
Change-Id: Iaac5fdd971d89cef580197f00aeeeac64bf264b1
Reviewed-on: https://chromium-review.googlesource.com/880981
Reviewed-by: Robert Kroeger <rjkroege@chromium.org>
Commit-Queue: Maksim Sisov <msisov@igalia.com>
Cr-Commit-Position: refs/heads/master@{#531585}
2 files changed