| Index: components/exo/wayland/server.cc
|
| diff --git a/components/exo/wayland/server.cc b/components/exo/wayland/server.cc
|
| index 9b6c097c8ae44bbc154f6376e10dc1ab1dbe43b0..9047a00f6930ad703a446e42542314aa0a62d366 100644
|
| --- a/components/exo/wayland/server.cc
|
| +++ b/components/exo/wayland/server.cc
|
| @@ -1978,6 +1978,12 @@ void remote_surface_set_rectangular_surface_shadow(wl_client* client,
|
| shell_surface->SetRectangularSurfaceShadow(content_bounds);
|
| }
|
|
|
| +void remote_surface_set_autohide_systemui(wl_client* client,
|
| + wl_resource* resource,
|
| + uint32_t autohide) {
|
| + GetUserDataAs<ShellSurface>(resource)->SetAutohideShelf(autohide);
|
| +}
|
| +
|
| void remote_surface_ack_configure(wl_client* client,
|
| wl_resource* resource,
|
| uint32_t serial) {
|
| @@ -2008,6 +2014,7 @@ const struct zcr_remote_surface_v1_interface remote_surface_implementation = {
|
| remote_surface_set_system_modal,
|
| remote_surface_unset_system_modal,
|
| remote_surface_set_rectangular_surface_shadow,
|
| + remote_surface_set_autohide_systemui,
|
| remote_surface_ack_configure,
|
| remote_surface_move};
|
|
|
| @@ -2054,7 +2061,7 @@ class WaylandRemoteShell : public WMHelper::MaximizeModeObserver,
|
| }
|
|
|
| bool IsMultiDisplaySupported() const {
|
| - return wl_resource_get_version(remote_shell_resource_) >= 3;
|
| + return wl_resource_get_version(remote_shell_resource_) >= 4;
|
| }
|
|
|
| std::unique_ptr<ShellSurface> CreateShellSurface(Surface* surface,
|
|
|