Go to index / Go to protocols

aura_shell ↗

aura_shell
zaura_shell

Version 65

aura_shell

The global interface exposing aura shell capabilities is used to instantiate an interface extension for a wl_surface object. This extended interface will then allow the client to use aura shell specific functionality.

zaura_shell
enum error {
    aura_surface_exists = 0,
    aura_output_exists = 1,
}
  • aura_surface_exists — the surface already has an aura surface object associated
  • aura_output_exists — the output already has an aura output object associated
zaura_shell
request get_aura_surface(
    id: new_id<zaura_surface>,
    surface: object<wl_surface>,
)
  • id — the new aura surface interface id
  • surface — the surface

extend surface interface for aura shell

Instantiate an interface extension for the given wl_surface to provide aura shell functionality. If the given wl_surface is not associated with a shell surface, the shell_surface_missing protocol error is raised.

zaura_shell
request get_aura_output(
    id: new_id<zaura_output>,
    output: object<wl_output>,
)
Available since version 2
  • id — the new aura output interface id
  • output — the output

extend output interface for aura shell

Instantiate an interface extension for the given wl_output to provide aura shell functionality.

zaura_shell
enum layout_mode {
    windowed = 1,
    tablet = 2,
}
  • windowed — multiple windows
  • tablet — restricted mode for tablet

the layout mode

Specifies the server's window layout mode.

zaura_shell
event layout_mode(
    layout_mode: uint,
)
Available since version 11
  • layout_mode — layout_mode enum

sends the layout_mode

Sends the layout_mode used by the server.

zaura_shell
event bug_fix(
    id: uint,
)
Available since version 14
  • id — ID of a single bug fix

sends a bug fix ID

Sends a monorail ID of a bug fixed on the exo server that clients can use to gate functionality.

zaura_shell
event desks_changed(
    desk_names: array,
)
Available since version 22
  • desk_names — an array of existing desks' names

sends names of desks

Notifies when there is a change in global desks state. This is emitted on desk name changes, desk addition/removal or desks are reordered. "desk_names" argument contains the set of null terminated strings as names of desks.

zaura_shell
event desk_activation_changed(
    active_desk_index: int,
)
Available since version 22
  • active_desk_index — index of the active desk

sends the index of the active desk

Notifies when there is a change of the active desk.

zaura_shell
event activated(
    gained_active: nullable object<wl_surface>,
    lost_active: nullable object<wl_surface>,
)
Available since version 24

    activated surface changed

    Notifies client that the activated surface changed.

    zaura_shell
    request surface_submission_in_pixel_coordinates()
    Available since version 26

      surfaces will be submitted in pixel coordinates

      [Deprecated] Informs the server that when submitting surfaces, this client will not use wl_surface_set_buffer_scale to report the scales, nor will it apply scale via vp_viewporter. Instead the server should apply an appropriate scale transform to have the submitted buffers composited correctly.

      zaura_shell
      request get_aura_toplevel_for_xdg_toplevel(
          id: new_id<zaura_toplevel>,
          toplevel: object<xdg_toplevel>,
      )
      Available since version 27
      • id — the new aura toplevel interface id

      get aura toplevel

      Retrieve the aura toplevel interface for a given xdg toplevel interface

      zaura_shell
      request get_aura_popup_for_xdg_popup(
          id: new_id<zaura_popup>,
          popup: object<xdg_popup>,
      )
      Available since version 28
      • id — the aura popup interface id

      get aura popup

      Retrieve the aura popup interface for the given xdg popup interface

      zaura_shell
      request release()
      DestructorAvailable since version 38

        release zaura_shell object

        Using this request a client can tell the server that it is not going to use the zaura_shell object anymore. This does not affect any other objects.

        This is named "release" because "destroy" is a special named function used for freeing wl_proxy objects. Naming it "destroy" will cause marshalling errors when running on lower versioned hosts. All "release" requests here should be renamed to "destroy" if we move to aura-shell v2.

        zaura_shell
        event set_overview_mode()
        Available since version 57

          entered overview mode

          Notifies client that the server has entered overview mode. Overview mode displays all app windows associated with the current desk for the user.

          zaura_shell
          event unset_overview_mode()
          Available since version 57

            exited overview mode

            Notifies client that the server has exited overview mode.

            zaura_shell
            event compositor_version(
                version_label: string,
            )
            Available since version 58
            • version_label — version string label

            sends the server version

            Sends the Exo compositor version information.

            zaura_shell
            event all_bug_fixes_sent()
            Available since version 60

              completed sending all bug fix ids

              Notifies client that all the IDs of a bug fixed on the exo server is sent. Bug fix ids are sent via bug_fix events which sends ids one by one, not an array. This event is used to confirm all ids are sent.

              zaura_shell
              event window_corners_radii(
                  upper_left_radius: uint,
                  upper_right_radius: uint,
                  lower_right_radius: uint,
                  lower_left_radius: uint,
              )
              Available since version 61

                sends the radius of each corner the window

                Sends the radius of each corner of the window to the clients in dips.

                aura_shell
                zaura_surface

                Version 51

                aura shell interface to a wl_surface

                An additional interface to a wl_surface object, which allows the client to access aura shell specific functionality for surface.

                zaura_surface
                enum frame_type {
                    none = 0,
                    normal = 1,
                    shadow = 2,
                }
                • none — no frame
                • normal — caption with shadow
                • shadow — shadow only

                different frame types

                Frame types that can be used to decorate a surface.

                zaura_surface
                request set_frame(
                    type: uint,
                )
                • type — the new frame type

                request a frame for surface

                [Deprecated] Suggests a surface should use a specific frame. Deprecated since M105. See the set_decoration method on zaura_toplevel and zaura_popup.

                zaura_surface
                request set_parent(
                    parent: nullable object<zaura_surface>,
                    x: int,
                    y: int,
                )
                Available since version 2

                  set the parent of this surface

                  Set the "parent" of this surface. "x" and "y" arguments specify the initial position for surface relative to parent.

                  zaura_surface
                  request set_frame_colors(
                      active_color: uint,
                      inactive_color: uint,
                  )
                  Available since version 3
                  • active_color — 32 bit ARGB color value, not premultiplied
                  • inactive_color — 32 bit ARGB color value, not premultiplied

                  set the frame colors of this surface

                  Set the frame colors. This must be set before the initial commit first, otherwise the subsequent request may not be fulfilled.

                  zaura_surface
                  request set_startup_id(
                      startup_id: nullable string,
                  )
                  Available since version 4

                    set the startup ID of this surface

                    Set the startup ID.

                    zaura_surface
                    request set_application_id(
                        application_id: nullable string,
                    )
                    Available since version 5

                      set the application ID of this surface

                      Set the application ID.

                      zaura_surface
                      request set_client_surface_id(
                          client_surface_id: int,
                      )
                      Available since version 7

                        set the client surface ID of this surface

                        Deprecated. Please use set_client_surface_str_id instead. Set the identifier of the surface assigned by the client.

                        zaura_surface
                        enum occlusion_change_reason {
                            user_action = 1,
                        }
                        • user_action — occlusion changed as a result of a user action

                        occlusion change reason

                        Enum describing why an occlusion change happened. An occlusion change as a result of a user action could include things like the user moving a window, changing occlusion, or opening/closing a window, changing the occlusion.

                        zaura_surface
                        request set_occlusion_tracking()
                        Available since version 8

                          set tracked occlusion region

                          Sets occlusion tracking on this surface. The client will be updated with a new occlusion fraction when the amount of occlusion of this surface changes.

                          zaura_surface
                          request unset_occlusion_tracking()
                          Available since version 8

                            unset tracked occlusion region

                            Unsets occlusion tracking for this surface.

                            zaura_surface
                            event occlusion_changed(
                                occlusion_fraction: fixed,
                                occlusion_reason: uint,
                            )
                            Available since version 8

                              Notifies on an occlusion change

                              Notifies when there is a change in the amount this surface is occluded. The occlusion update is sent as a fixed point number from 0 to 1, representing the proportion of occlusion.

                              zaura_surface
                              request activate()
                              Available since version 9

                                Indicate that this window wants to be the active window

                                [Deprecated] Make this the active window. This usually implies something like restacking this surface to the foreground. The compositor is free to ignore this request if it deems the client to be misbehaving. Typically this request will only be honoured in response to some user driven event, such as executing an application or opening a file in a window that already exists.

                                zaura_surface
                                request draw_attention()
                                Available since version 9

                                  Indicate that this window wants some of the user's attention

                                  Draw attention to this surface in a way that does not change the user's focus. This usually means animating window decorations or taskbar icons. The compositor can still ignore this request if it deems fit, but unlike draw_focus, these requests are expected to come from background tasks, and are more likely to be honoured.

                                  zaura_surface
                                  enum fullscreen_mode {
                                      immersive = 0,
                                      plain = 1,
                                  }
                                  • immersive — user can access system UIs such as the shelf and window frame by pointing to, or swiping over, the screen edge
                                  • plain — user cannot access system UIs using mouse/touches

                                  Specifies the behavior of the surface in fullscreen.

                                  [Deprecated] Possible windowing system behaviors if this surface were to go fullscreen.

                                  zaura_surface
                                  request set_fullscreen_mode(
                                      mode: uint<fullscreen_mode>,
                                  )
                                  Available since version 10

                                    Sets the behavior of the surface in fullscreen.

                                    [Deprecated] Use the set_fullscreen_mode in the toplevel interface. Suggests how the windowing system should behave if this surface were to go fullscreen. Does not make the surface fullscreen.

                                    Typically the default mode is "immersive".

                                    zaura_surface
                                    request set_client_surface_str_id(
                                        client_surface_id: string,
                                    )
                                    Available since version 12

                                      set the client surface ID of this surface

                                      Set the identifier of the surface assigned by the client.

                                      zaura_surface
                                      request set_server_start_resize()
                                      Available since version 15

                                        request a server-side shadow for surface

                                        Suggests a surface to have client-side decoration, but server-side decides when and where to start the resize. The server may also apply visual effects to indicate that the resize operation is ongoing.

                                        zaura_surface
                                        enum snap_direction {
                                            none = 0,
                                            left = 1,
                                            right = 2,
                                        }
                                        • none —
                                        • left —
                                        • right —

                                        surface snap directions

                                        Surface snap directions.

                                        zaura_surface
                                        request intent_to_snap(
                                            direction: uint<snap_direction>,
                                        )
                                        Available since version 16

                                          client intents to snap the surface.

                                          [Deprecated] Use intent_to_snap on zaura_toplevel. Notify (or inform) the server the client's intent to snap the window. To inform it's no longer willing to snap, send 'none'.

                                          zaura_surface
                                          request set_snap_left()
                                          Available since version 16

                                            snap the surface to the left.

                                            [Deprecated] Use set_snap_primary on zaura_toplevel. Request that surface is snapped to the left.

                                            zaura_surface
                                            request set_snap_right()
                                            Available since version 16

                                              snap the surface to the right.

                                              [Deprecated] Use set_snap_secondary on zaura_toplevel. Request that surface is snapped to the right.

                                              zaura_surface
                                              request unset_snap()
                                              Available since version 16

                                                Unset the surface snap.

                                                [Deprecated] Use unset_snap on zaura_toplevel. Request that surface resets snapping.

                                                zaura_surface
                                                event lock_frame_normal()
                                                Available since version 17

                                                  Notify the client that server intent to lock window in normal or restore state

                                                  Notifies the client to lock window in normal or restore state. When window is locked, the window frame should look like it is in restored state, but actually isn't. Locking happends while dragging a maximized window.

                                                  zaura_surface
                                                  event unlock_frame_normal()
                                                  Available since version 17

                                                    Notify the client that server intent to unlock window's normal or restore state

                                                    Notifies the client to unlock window if it is previously locked. Unlocking happends while dragging a maximized window.

                                                    zaura_surface
                                                    request set_window_session_id(
                                                        id: int,
                                                    )
                                                    Available since version 18
                                                    • id — window session id

                                                    set surface window session id

                                                    Set window session id to the surface.

                                                    zaura_surface
                                                    request set_can_go_back()
                                                    Available since version 19

                                                      Set the minimize-on-back-gesture behavior.

                                                      Sets that the surface can go back as per its navigation list. This allows the server to react to by minimizing the window upon a system wide back gesture.

                                                      zaura_surface
                                                      request unset_can_go_back()
                                                      Available since version 19

                                                        Unset the minimize-on-back-gesture behavior.

                                                        Unsets that the surface can go back as per its navigation list. See above.

                                                        zaura_surface
                                                        request set_pip()
                                                        Available since version 20

                                                          Set pip for the surface.

                                                          Requests that the surface is set to Picture-in-Picture (PIP).

                                                          zaura_surface
                                                          request unset_pip()
                                                          Available since version 20

                                                            Unset pip for the surface.

                                                            Requests that the surface is unset from Picture-in-Picture (PIP).

                                                            zaura_surface
                                                            request set_aspect_ratio(
                                                                width: int,
                                                                height: int,
                                                            )
                                                            Available since version 20

                                                              Set aspect ratio for the surface.

                                                              Sets the aspect ratio of the surface.

                                                              zaura_surface
                                                              enum occlusion_state {
                                                                  unknown = 0,
                                                                  visible = 1,
                                                                  occluded = 2,
                                                                  hidden = 3,
                                                              }
                                                              • unknown — The surface's occlusion state isn't tracked
                                                              • visible — The surface is visible
                                                              • occluded — The surface is occluded
                                                              • hidden — The surface is not visible

                                                              surface occlusion state

                                                              Describes the occlusion state of a surface.

                                                              zaura_surface
                                                              event occlusion_state_changed(
                                                                  mode: uint<occlusion_state>,
                                                              )
                                                              Available since version 21

                                                                Notify the client that the occlusion state changed

                                                                Notifies the client that the occlusion state of a window has changed. Clients will only receive these messages if they previously request occlusion tracking via set_occlusion_tracking for a particular surface.

                                                                zaura_surface
                                                                request move_to_desk(
                                                                    index: int,
                                                                )
                                                                Available since version 22

                                                                  move to desk

                                                                  If |index| equals -1, requests that the server toggles whether client is visible on all workspaces. If |index| is not -1, requests that the server moves the client to the desk at |index|.

                                                                  zaura_surface
                                                                  event desk_changed(
                                                                      state: int,
                                                                  )
                                                                  Available since version 22
                                                                  • state — index of desk or -1 for a window assigned to all desks

                                                                  window desk state changed

                                                                  Notifies when there is a change in the desk state of a window. This is emitted when a window is moved to another desk or when its assigned-to-all-desks state changes.

                                                                  zaura_surface
                                                                  request set_initial_workspace(
                                                                      initial_workspace: string,
                                                                  )
                                                                  Available since version 23
                                                                  • initial_workspace — intial workspace for restoring or '-1' for visible on all workspaces

                                                                  initial workspace for restore

                                                                  If |initial_workspace| equals '-1', a window is restored and visible on all workspaces, Otherwise, set the initial workspace to restore the window to the corresponding workspace. This is not double buffered and must be set before attaching a buffer.

                                                                  zaura_surface
                                                                  request set_pin(
                                                                      trusted: int,
                                                                  )
                                                                  Available since version 25
                                                                  • trusted — 0 for non trusted

                                                                  pin a window (trusted or not)

                                                                  Requests that a window is pinned which means that the system does not allow the user to leave the window until an exit criteria is met.

                                                                  This is a request to get the window pinned so that the user cannot get to any other window / application. There are two modes: A. trusted is 0 - which is slightly less restrictive and allows the user to get out of the window by a predefined way of authentication. B. trusted is not 0 in which case a trusted application was locking down the system and needs to unlock. This is used for e.g. School tests.

                                                                  zaura_surface
                                                                  request unset_pin()
                                                                  Available since version 25

                                                                    unpin a window

                                                                    Requests that the user can leave a previously pinned window.

                                                                    This is a request to unpin a previously pinned window. It does not matter if the window was locked with the trusted state or not.

                                                                    zaura_surface
                                                                    event start_throttle()
                                                                    Available since version 29

                                                                      start throttling on the surface

                                                                      Informs the client to start throttling on the surface.

                                                                      zaura_surface
                                                                      event end_throttle()
                                                                      Available since version 29

                                                                        end throttling on the surface

                                                                        Informs the client to end throttling on the surface.

                                                                        zaura_surface
                                                                        request release()
                                                                        DestructorAvailable since version 38

                                                                          destroy zaura_surface

                                                                          Destroy the zaura_surface object. A client should destroy this object when the role is unmapped from a wl_surface.

                                                                          See zaura_shell.release for destructor naming.

                                                                          zaura_surface
                                                                          request show_tooltip(
                                                                              text: string,
                                                                              x: int,
                                                                              y: int,
                                                                              tooltip_trigger: uint,
                                                                              show_delay: uint,
                                                                              hide_delay: uint,
                                                                          )
                                                                          Available since version 47
                                                                          • tooltip_trigger — tooltip_trigger enum
                                                                          • show_delay — delay to show tooltip in millisecond
                                                                          • hide_delay — delay to hide tooltip in millisecond

                                                                          show tooltip window

                                                                          Show tooltip on server side. x and y specifies the location of tooltip in surface local coordinates. hide_delay and show_delay specify the time to wait until showing/hiding tooltip. The unit is millisecond.

                                                                          zaura_surface
                                                                          enum tooltip_trigger {
                                                                              cursor = 0,
                                                                              keyboard = 1,
                                                                          }
                                                                          • cursor — triggered by cursor
                                                                          • keyboard — triggered by keyboard

                                                                          type of tooltip trigger

                                                                          Describes what triggered tooltip

                                                                          zaura_surface
                                                                          request hide_tooltip()
                                                                          Available since version 47

                                                                            hide tooltip window

                                                                            Hide tooltip created by the same client on server side. This may be called even when there is no tooltip window to hide.

                                                                            zaura_surface
                                                                            event tooltip_shown(
                                                                                text: string,
                                                                                x: int,
                                                                                y: int,
                                                                                width: int,
                                                                                height: int,
                                                                            )
                                                                            Available since version 47

                                                                              tooltip is shown by server side

                                                                              Informs the client that the tooltip is shown with states. x and y specifies the location of tooltip in surface local coordinates.

                                                                              zaura_surface
                                                                              event tooltip_hidden()
                                                                              Available since version 47

                                                                                tooltip is hidden by server side

                                                                                Informs the client that the tooltip is hidden.

                                                                                zaura_surface
                                                                                request set_accessibility_id(
                                                                                    id: int,
                                                                                )
                                                                                Available since version 51
                                                                                • id — Accessibility ID. Negative number removes existing accessibility ID from the surface.

                                                                                set accessibility ID to the surface

                                                                                Set accessibility window ID to the surface. A negative number removes the existing accessibility ID from the surface.

                                                                                aura_shell
                                                                                zaura_output

                                                                                Version 45

                                                                                aura shell interface to a wl_output

                                                                                An additional interface to a wl_output object, which allows the client to access aura shell specific functionality for output.

                                                                                zaura_output
                                                                                enum scale_property {
                                                                                    current = 0x1,
                                                                                    preferred = 0x2,
                                                                                }
                                                                                This is a bitfield
                                                                                • current — indicates this is the current scale
                                                                                • preferred — indicates this is the preferred scale

                                                                                scale information

                                                                                These flags describe properties of an output scale. They are used in the flags bitfield of the scale event.

                                                                                zaura_output
                                                                                enum scale_factor {
                                                                                    0400 = 400,
                                                                                    0500 = 500,
                                                                                    0550 = 550,
                                                                                    0600 = 600,
                                                                                    0625 = 625,
                                                                                    0650 = 650,
                                                                                    0700 = 700,
                                                                                    0750 = 750,
                                                                                    0800 = 800,
                                                                                    0850 = 850,
                                                                                    0900 = 900,
                                                                                    0950 = 950,
                                                                                    1000 = 1000,
                                                                                    1050 = 1050,
                                                                                    1100 = 1100,
                                                                                    1150 = 1150,
                                                                                    1125 = 1125,
                                                                                    1200 = 1200,
                                                                                    1250 = 1250,
                                                                                    1300 = 1300,
                                                                                    1400 = 1400,
                                                                                    1450 = 1450,
                                                                                    1500 = 1500,
                                                                                    1600 = 1600,
                                                                                    1750 = 1750,
                                                                                    1800 = 1800,
                                                                                    2000 = 2000,
                                                                                    2200 = 2200,
                                                                                    2250 = 2250,
                                                                                    2500 = 2500,
                                                                                    2750 = 2750,
                                                                                    3000 = 3000,
                                                                                    3500 = 3500,
                                                                                    4000 = 4000,
                                                                                    4500 = 4500,
                                                                                    5000 = 5000,
                                                                                }
                                                                                  zaura_output
                                                                                  event scale(
                                                                                      flags: uint<scale_property>,
                                                                                      scale: uint<scale_factor>,
                                                                                  )
                                                                                  Available since version 2
                                                                                  • flags — bitfield of scale flags
                                                                                  • scale — output scale

                                                                                  advertise available scales for the output

                                                                                  The scale event describes an available scale for the output.

                                                                                  The event is sent when binding to the output object and there will always be one scale, the current scale. The event is sent again if an output changes scale, for the scale that is now current. In other words, the current scale is always the last scale that was received with the current flag set.

                                                                                  zaura_output
                                                                                  enum connection_type {
                                                                                      unknown = 0,
                                                                                      internal = 1,
                                                                                  }
                                                                                    zaura_output
                                                                                    event connection(
                                                                                        connection: uint<connection_type>,
                                                                                    )
                                                                                    Available since version 5
                                                                                    • connection — output connection

                                                                                    advertise connection for the output

                                                                                    The connection event describes how the output is connected.

                                                                                    The event is sent when binding to the output object.

                                                                                    zaura_output
                                                                                    event device_scale_factor(
                                                                                        scale: uint<scale_factor>,
                                                                                    )
                                                                                    Available since version 5
                                                                                    • scale — output device scale factor

                                                                                    advertise device scale factor for the output

                                                                                    This event describes the device specific scale factor for the output.

                                                                                    The device specific scale factor is not expected the change during the lifetime of the output. And it is not limited to an integer value like the scale factor provided by wl_output interface. The exact contents scale used by the compositor can be determined by combining this device scale factor with the current output scale.

                                                                                    The event is sent when binding to the output object.

                                                                                    zaura_output
                                                                                    event insets(
                                                                                        top: int,
                                                                                        left: int,
                                                                                        bottom: int,
                                                                                        right: int,
                                                                                    )
                                                                                    Available since version 33

                                                                                      advertise the work area insets for the output

                                                                                      This event describes the insets for the output in logical screen coordinates, from which the work area can be calculated.

                                                                                      This event is sent before wl_output.done, after which the client would apply the change.

                                                                                      zaura_output
                                                                                      event logical_transform(
                                                                                          transform: int<wl_output.transform>,
                                                                                      )
                                                                                      Available since version 34

                                                                                        advertise the output's logical transform

                                                                                        This event describes the logical transform for the output. Whereas wl_output.geometry's transform corresponds to the display's panel rotation, the logical transform corresponds to the display's logical rotation.

                                                                                        This event is sent before wl_output.done, after which the client would apply the change.

                                                                                        zaura_output
                                                                                        request release()
                                                                                        DestructorAvailable since version 38

                                                                                          destroy zaura_output

                                                                                          Destroy this zaura_shell object.

                                                                                          Destroying a bound zaura_shell object while there are zaura_surfaces still alive created by this zaura_shell object instance is illegal and will result in a protocol error.

                                                                                          See zaura_shell.release for destructor naming.

                                                                                          zaura_output
                                                                                          event display_id(
                                                                                              display_id_hi: uint,
                                                                                              display_id_lo: uint,
                                                                                          )
                                                                                          Available since version 43

                                                                                            advertise the output's display id

                                                                                            This event describes the 64bit display id assigned to each display by ChromeOS. The value is opaque and should not be interpreted.

                                                                                            zaura_output
                                                                                            event activated()
                                                                                            Available since version 45

                                                                                              target display for new windows

                                                                                              Notifies that this output is now active output. It is typically used as a target when a new window is created without specific bounds.

                                                                                              aura_shell
                                                                                              zaura_toplevel

                                                                                              Version 65

                                                                                              aura shell interface to the toplevel shell

                                                                                              An interface to the toplevel shell, which allows the client to access shell specific functionality.

                                                                                              zaura_toplevel
                                                                                              enum orientation_lock {
                                                                                                  none = 1,
                                                                                                  portrait = 2,
                                                                                                  landscape = 3,
                                                                                                  current = 4,
                                                                                                  portrait_primary = 5,
                                                                                                  landscape_primary = 6,
                                                                                                  portrait_secondary = 7,
                                                                                                  landscape_secondary = 8,
                                                                                              }
                                                                                              • none — no orientation lock
                                                                                              • portrait — primary or secondary portrait
                                                                                              • landscape — primary or secondary landscape
                                                                                              • current — keep current orientation
                                                                                              • portrait_primary — primary portrait
                                                                                              • landscape_primary — primary landscape
                                                                                              • portrait_secondary — secondary portrait
                                                                                              • landscape_secondary — secondary landscape

                                                                                              orientation lock request

                                                                                              Defines orientation request when a surface is in fullscreen.

                                                                                              zaura_toplevel
                                                                                              request set_orientation_lock(
                                                                                                  orientation_lock: uint<orientation_lock>,
                                                                                              )
                                                                                              Available since version 26

                                                                                                set orientation lock for a remote surface

                                                                                                Request a specific orientation behavior when this surface is in fullscreen.

                                                                                                zaura_toplevel
                                                                                                request surface_submission_in_pixel_coordinates()
                                                                                                Available since version 28

                                                                                                  surface will be submitted in pixel coordinates

                                                                                                  Informs the server that when submitting this surface, this client will not use wl_surface_set_buffer_scale to report the scales, nor will it apply scale via vp_viewporter. Instead the server should apply an appropriate scale transform for the submitted buffers to be composited correctly.

                                                                                                  zaura_toplevel
                                                                                                  request set_supports_screen_coordinates()
                                                                                                  Available since version 29

                                                                                                    enables screen coordinates in window bounds

                                                                                                    Requesting this will enable screen coordinates in surfaces associated with aura_toplevel including sub surfaces and popup windows who added this toplevel as a parent. This should be set before first commit.

                                                                                                    zaura_toplevel
                                                                                                    request set_window_bounds(
                                                                                                        x: int,
                                                                                                        y: int,
                                                                                                        width: int,
                                                                                                        height: int,
                                                                                                        output: nullable object<wl_output>,
                                                                                                    )
                                                                                                    Available since version 29
                                                                                                    • output — the output

                                                                                                    set window size and position

                                                                                                    Request a new location and bounds of the surface in DP screen coordinates. The size will be applied to visible bounds used in set_geometry. The output is a hint for the compositor to determine which output the window should move to. If the output is null, the compositor should make decision solely by the given bounds. These parameters are just a request and the compositor may ignore, adjust the size and position based on the rule imposed by the window manager, or may preserve it for future operations. For example, the compositor will not allow a position outside of the output, or the compositor may just store it if the toplevel surface is in maximiezd state, and may use it upon unmaximized.

                                                                                                    zaura_toplevel
                                                                                                    event configure(
                                                                                                        x: int,
                                                                                                        y: int,
                                                                                                        width: int,
                                                                                                        height: int,
                                                                                                        states: array,
                                                                                                    )
                                                                                                    Available since version 29

                                                                                                      suggest a surface change

                                                                                                      A configuration change that also includes the window origin in screen coordinates.

                                                                                                      zaura_toplevel
                                                                                                      enum state {
                                                                                                          immersive = 100,
                                                                                                          minimized = 101,
                                                                                                          snapped_primary = 102,
                                                                                                          snapped_secondary = 103,
                                                                                                          floated = 104,
                                                                                                          pip = 105,
                                                                                                          pinned = 106,
                                                                                                          trusted_pinned = 107,
                                                                                                      }
                                                                                                      • immersive
                                                                                                        Available since version 36

                                                                                                        immersive mode with hidden title bar and shelf

                                                                                                        User can access system UIs such as the shelf and window frame by pointing to, or swiping over, the screen edge.

                                                                                                      • minimized
                                                                                                        Available since version 36

                                                                                                        surface is minimized

                                                                                                        The window has been minimized.

                                                                                                      • snapped_primary
                                                                                                        Available since version 38

                                                                                                        window is snapped in primary position

                                                                                                        The window is snapped to the left if the display is in landscape mode and at the top in portrait mode.

                                                                                                      • snapped_secondary
                                                                                                        Available since version 38

                                                                                                        window is snapped in secondary position

                                                                                                        The window is snapped to the right if the display is in landscape mode and at the bottom in portrait mode.

                                                                                                      • floated
                                                                                                        Available since version 38

                                                                                                        window is floated on top

                                                                                                        The window is floated on top of other windows. One floated window is allowed per desk. Floating a window when there is already a floated window on the same desk will unfloat the floated window.

                                                                                                      • pip
                                                                                                        Available since version 54

                                                                                                        window is PiP

                                                                                                        The window is in PiP mode.

                                                                                                      • pinned
                                                                                                        Available since version 64

                                                                                                        window is pinned

                                                                                                        The window is pinned.

                                                                                                      • trusted_pinned
                                                                                                        Available since version 64

                                                                                                        window is trusted pinned

                                                                                                        The window is trusted pinned.

                                                                                                      supplemental aura states to xdg states

                                                                                                      The states that are contained here are supplemental to the states defined in the XDG shell and specific aura windows.

                                                                                                      zaura_toplevel
                                                                                                      event origin_change(
                                                                                                          x: int,
                                                                                                          y: int,
                                                                                                      )
                                                                                                      Available since version 29

                                                                                                        window origin change

                                                                                                        A notification sent when the window origin has changed. Unlike a configure, this does not imply the client needs to resize. The values are in screen coordinates.

                                                                                                        zaura_toplevel
                                                                                                        request set_restore_info(
                                                                                                            restore_session_id: int,
                                                                                                            restore_window_id: int,
                                                                                                        )
                                                                                                        Available since version 30
                                                                                                        • restore_session_id — unique browser session id
                                                                                                        • restore_window_id — restore browser window id

                                                                                                        set session id and restore id

                                                                                                        Request session id and restore id of a newly created browser window. Set the information used by compositor to restore the toplevel surface state, such as window position, window state, upon creation. This is not double buffered and must be set before sending first commit.

                                                                                                        zaura_toplevel
                                                                                                        request set_system_modal()
                                                                                                        Available since version 31

                                                                                                          make window a system modal

                                                                                                          Requests that the toplevel surface should become a system modal. The compositor will prevent other windows from receiving events. If there are multiple system modal surfaces, the compositor will decide which one to receive events.

                                                                                                          zaura_toplevel
                                                                                                          request unset_system_modal()
                                                                                                          Available since version 31

                                                                                                            unset window system modal state

                                                                                                            Requests that the system modal state of the toplevel surface will be unset. The compositor will then allow other windows to recieve events.

                                                                                                            zaura_toplevel
                                                                                                            request set_restore_info_with_window_id_source(
                                                                                                                restore_session_id: int,
                                                                                                                restore_window_id_source: string,
                                                                                                            )
                                                                                                            Available since version 32
                                                                                                            • restore_session_id — unique browser session id
                                                                                                            • restore_window_id_source — restore window id source

                                                                                                            set session id and restore window id source

                                                                                                            Request session id and restore id of the window. Set the information used by compositor to restore the toplevel surface state, such as window position, window state, upon creation. This is not double buffered and must be set before sending first commit. This is different from set_restore_info, used for clients that create multiple windows associated with restore_id_source.

                                                                                                            zaura_toplevel
                                                                                                            request set_decoration(
                                                                                                                type: uint,
                                                                                                            )
                                                                                                            Available since version 35
                                                                                                            • type — the new frame type

                                                                                                            request a decoration for surface

                                                                                                            Clients are allowed to request a particular decoration for a zaura_toplevel. The server is not required to honor this request. See decoration_type for available options. This must be set before the initial commit first, otherwise the subsequent request may not be fulfilled. Available since M105.

                                                                                                            zaura_toplevel
                                                                                                            enum decoration_type {
                                                                                                                none = 0,
                                                                                                                normal = 1,
                                                                                                                shadow = 2,
                                                                                                            }
                                                                                                            • none — no frame
                                                                                                            • normal — caption with shadow
                                                                                                            • shadow — shadow only

                                                                                                            different decoration types

                                                                                                            Decoration types are used to modify the surface (e.g. drop shadow).

                                                                                                            zaura_toplevel
                                                                                                            request release()
                                                                                                            DestructorAvailable since version 38

                                                                                                              destroy zaura_toplevel

                                                                                                              Destroy this zaura_toplevel object. A client should call destroy when the role is unmapped from a wl_surface.

                                                                                                              See zaura_shell.release for destructor naming.

                                                                                                              zaura_toplevel
                                                                                                              request set_float()
                                                                                                              Available since version 39

                                                                                                                float the surface on top

                                                                                                                [Deprecated] Use set_float_to_location. This is a request to place the surface above others.

                                                                                                                zaura_toplevel
                                                                                                                request unset_float()
                                                                                                                Available since version 39

                                                                                                                  unset the surface float

                                                                                                                  Request that the surface resets floating.

                                                                                                                  zaura_toplevel
                                                                                                                  request set_z_order(
                                                                                                                      z_order: uint,
                                                                                                                  )
                                                                                                                  Available since version 40
                                                                                                                  • z_order — z order value for the window

                                                                                                                  set z order for window

                                                                                                                  Sets the z order for a toplevel surface. See z_order_level for available options.

                                                                                                                  zaura_toplevel
                                                                                                                  enum z_order_level {
                                                                                                                      normal = 0,
                                                                                                                      floating_window = 1,
                                                                                                                      floating_ui_element = 2,
                                                                                                                      security_surface = 3,
                                                                                                                  }
                                                                                                                  • normal — the default level for windows
                                                                                                                  • floating_window — a floating window z-ordered above other normal windows
                                                                                                                  • floating_ui_element — used to show non-window style UIs that are shown above floating windows
                                                                                                                  • security_surface — cannot be interfered with or covered up

                                                                                                                  z order levels for windows

                                                                                                                  Different z order levels that are used to set the z order for a toplevel surface.

                                                                                                                  zaura_toplevel
                                                                                                                  request set_origin(
                                                                                                                      x: int,
                                                                                                                      y: int,
                                                                                                                      output: nullable object<wl_output>,
                                                                                                                  )
                                                                                                                  Available since version 41
                                                                                                                  • output — output to contain the surface

                                                                                                                  set window position in DPs

                                                                                                                  Request a new location for the surface in device-independent pixels (DPs), relative to the top-left corner of the given output.

                                                                                                                  A null output means whichever output currently contains the surface.

                                                                                                                  These parameters are just a request and the compositor may ignore them, adjust them due to rules imposed by the window manager, or preserve them for future operations. For example, the compositor will not allow a position outside of the output; or the compositor may just store it if the toplevel surface is in maximized state, and may use it upon unmaximize.

                                                                                                                  zaura_toplevel
                                                                                                                  request activate()
                                                                                                                  Available since version 42

                                                                                                                    activates the window

                                                                                                                    Activates this window. This is equivalent to bringing the window to the foreground. The compositor is free to ignore this request if it deems the client to be misbehaving.

                                                                                                                    zaura_toplevel
                                                                                                                    request deactivate()
                                                                                                                    Available since version 42

                                                                                                                      deactivates the window

                                                                                                                      Deactivates this window. This is equivalent to requesting that the window not be the foreground window. The exact behavior is compositor-defined. The compositor is free to ignore this request if it deems the client to be misbehaving.

                                                                                                                      zaura_toplevel
                                                                                                                      enum fullscreen_mode {
                                                                                                                          plain = 0,
                                                                                                                          immersive = 1,
                                                                                                                      }
                                                                                                                      • plain — user cannot access system UIs using mouse/touches
                                                                                                                      • immersive — user can access system UIs such as the shelf and window frame by pointing to, or swiping over, the screen edge

                                                                                                                      Specifies the behavior of the surface in fullscreen.

                                                                                                                      Possible windowing system behaviors if this surface were to go fullscreen.

                                                                                                                      zaura_toplevel
                                                                                                                      request set_fullscreen_mode(
                                                                                                                          mode: uint<fullscreen_mode>,
                                                                                                                      )
                                                                                                                      Available since version 44

                                                                                                                        Sets the behavior of the surface in fullscreen.

                                                                                                                        Suggests how the windowing manager should behave if this surface were to go fullscreen. Does not make the surface fullscreen.

                                                                                                                        In precise, if the surface is not in fullscreen yet, switching the mode does not have immediate impact from the client side perspective, but will change the behavior when making the surface fullscreen is requested next time. If the surface is already in fullscreen, then this request has an immediate impact to switch the fullscreen mode between plan and immersive.

                                                                                                                        zaura_toplevel
                                                                                                                        request set_scale_factor(
                                                                                                                            scale_factor_as_uint: uint,
                                                                                                                        )
                                                                                                                        Available since version 46

                                                                                                                          Allows the client to set the scale factor for the future buffer commits.

                                                                                                                          The client has a 32-bit float scale factor that is associated with each zaura toplevel. This scale factor must be propagated exactly to exo. To do so we reinterpret_cast into a 32-bit uint and later cast back into a float. This is because wayland does not support native transport of floats. As different CPU architectures may use different endian representations for IEEE 754 floats, this protocol implicitly assumes that the caller and receiver are the same machine. To avoid redundant messages, this request needs to only be called once when the zaura toplevel scale factor changes. This is double buffered state and will be applied in the next commit.

                                                                                                                          zaura_toplevel
                                                                                                                          request set_snap_primary(
                                                                                                                              snap_ratio_as_uint: uint,
                                                                                                                          )
                                                                                                                          Available since version 48

                                                                                                                            snap the surface to the primary snap position.

                                                                                                                            Request that surface is snapped to the left or top if primary layout, right or bottom otherwise.

                                                                                                                            zaura_toplevel
                                                                                                                            request set_snap_secondary(
                                                                                                                                snap_ratio_as_uint: uint,
                                                                                                                            )
                                                                                                                            Available since version 48

                                                                                                                              snap the surface to the secondary snap position.

                                                                                                                              Request that surface is snapped to the right or bottom if primary layout, left or top otherwise.

                                                                                                                              zaura_toplevel
                                                                                                                              enum snap_direction {
                                                                                                                                  none = 0,
                                                                                                                                  primary = 1,
                                                                                                                                  secondary = 2,
                                                                                                                              }
                                                                                                                              • none — unsnap the window
                                                                                                                              • primary — snap the window to the left or top in primary layout, right or bottom in secondary layout
                                                                                                                              • secondary — snap the window to the right or bottom in primary layout, top or left in secondary layout

                                                                                                                              window snap directions

                                                                                                                              Window snap directions.

                                                                                                                              zaura_toplevel
                                                                                                                              request intent_to_snap(
                                                                                                                                  direction: uint<snap_direction>,
                                                                                                                              )
                                                                                                                              Available since version 49

                                                                                                                                client intents to snap the surface.

                                                                                                                                Notify (or inform) the server the client's intent to snap the window. To inform it's no longer willing to snap, send 'none'.

                                                                                                                                zaura_toplevel
                                                                                                                                request unset_snap()
                                                                                                                                Available since version 49

                                                                                                                                  Unset the window snap.

                                                                                                                                  Request that window unsets snapping.

                                                                                                                                  zaura_toplevel
                                                                                                                                  event configure_raster_scale(
                                                                                                                                      scale: uint,
                                                                                                                                  )
                                                                                                                                  Available since version 50
                                                                                                                                  • scale — Raster scale, in float format

                                                                                                                                  set the raster scale during a configure

                                                                                                                                  Sets the raster scale of this window. This should be called during a configure event sequence. To do so we reinterpret_cast into a 32-bit uint and later cast back into a float. This is because wayland does not support native transport of floats. As different CPU architectures may use different endian representations for IEEE 754 floats, this protocol implicitly assumes that the caller and receiver are the same machine.

                                                                                                                                  zaura_toplevel
                                                                                                                                  enum persistable {
                                                                                                                                      not_persistable = 0,
                                                                                                                                      persistable = 1,
                                                                                                                                  }
                                                                                                                                  • not_persistable — the value is not persistable
                                                                                                                                  • persistable — the value is persistable

                                                                                                                                  Describes whether or not the value is persistable

                                                                                                                                  Binary enum maps to boolean, describes whether or not a value is persistable.

                                                                                                                                  zaura_toplevel
                                                                                                                                  request set_persistable(
                                                                                                                                      persistable: uint<persistable>,
                                                                                                                                  )
                                                                                                                                  Available since version 52
                                                                                                                                  • persistable — is the argument persistable

                                                                                                                                  Describes if the window is persistable

                                                                                                                                  Request the persistable status of a window. Sets the persistable status of the window in its window properties. Should be called before first commit.

                                                                                                                                  zaura_toplevel
                                                                                                                                  request set_shape(
                                                                                                                                      region: nullable object<wl_region>,
                                                                                                                                  )
                                                                                                                                  Available since version 53

                                                                                                                                    set the shape of the surface in DP

                                                                                                                                    Sets the shape of the toplevel window in DP. Passing NULL will reset the shape of the window.

                                                                                                                                    This should be used only in support of the existing (deprecated) Chrome Apps SetShape API and not for any other purpose.

                                                                                                                                    zaura_toplevel
                                                                                                                                    request set_top_inset(
                                                                                                                                        height: int,
                                                                                                                                    )
                                                                                                                                    Available since version 55
                                                                                                                                    • height — Top inset of client window. Should be non negative.

                                                                                                                                    set top inset to the surface

                                                                                                                                    Sets the top inset to the surface. This represents the header height and should be non negative.

                                                                                                                                    zaura_toplevel
                                                                                                                                    enum rotate_direction {
                                                                                                                                        backward = 0,
                                                                                                                                        forward = 1,
                                                                                                                                    }
                                                                                                                                      zaura_toplevel
                                                                                                                                      enum rotate_restart_state {
                                                                                                                                          no_restart = 0,
                                                                                                                                          restart = 1,
                                                                                                                                      }
                                                                                                                                        zaura_toplevel
                                                                                                                                        event rotate_focus(
                                                                                                                                            serial: uint,
                                                                                                                                            direction: uint<rotate_direction>,
                                                                                                                                            restart: uint<rotate_restart_state>,
                                                                                                                                        )
                                                                                                                                        Available since version 56
                                                                                                                                        • serial — serial for the rotation event
                                                                                                                                        • direction — the direction for linear traversal
                                                                                                                                        • restart — whether or not to restart traversal

                                                                                                                                        rotate focus within window

                                                                                                                                        Rotates focus within the toplevel window. The window must sort its focusable view into a stable and linearly traversable order. Prior to rotating focus, the surface should already be activated and have keyboard focus. If the surface has not been activated or does not have keyboard focus, the server should first activate and enter keyboard focus for the window. An example of event order could be:

                                                                                                                                        1. activate surface

                                                                                                                                        2. enter keyboard focus

                                                                                                                                        3. rotate focus

                                                                                                                                        If the window is not activated or does not have keyboard focus, the client should respond with a "not handled" and not perform any operation.

                                                                                                                                        To start a new series rotation, the server will set the "restart" arg to true. If the "restart" arg is set to true, the window should set the focus on the first UI element for the given direction and not perform any rotation.

                                                                                                                                        The client should respond with whether the rotation was successful via the "handled" field in the "ack_rotate_focus" request. The client should pass on the event serial and direction within the ack message.

                                                                                                                                        zaura_toplevel
                                                                                                                                        enum rotate_handled_state {
                                                                                                                                            not_handled = 0,
                                                                                                                                            handled = 1,
                                                                                                                                        }
                                                                                                                                          zaura_toplevel
                                                                                                                                          request ack_rotate_focus(
                                                                                                                                              serial: uint,
                                                                                                                                              handled: uint<rotate_handled_state>,
                                                                                                                                          )
                                                                                                                                          Available since version 56
                                                                                                                                          • serial — serial for the original; rotation event
                                                                                                                                          • handled — whether or not the rotation was successful

                                                                                                                                          status of rotate focus event

                                                                                                                                          If the focus has been successfully rotated between UI elements inside surface, client replies with 'handled'. If the focus didn't rotate, the client reply with 'not_handled'. A server may use this to move the focus to next focusable surface.

                                                                                                                                          Note that a delay in processing in the client could result in stale acks received by the server.

                                                                                                                                          zaura_toplevel
                                                                                                                                          request set_can_maximize()
                                                                                                                                          Available since version 58

                                                                                                                                            Hint that the toplevel surface can be maximized

                                                                                                                                            Hints to the window manager that the toplevel surface can be maximized.

                                                                                                                                            zaura_toplevel
                                                                                                                                            request unset_can_maximize()
                                                                                                                                            Available since version 58

                                                                                                                                              Hint that the toplevel surface should not be maximized

                                                                                                                                              Hints to the window manager that the toplevel surface should not be maximized. Note that the window manager might still request the client to be maximized. In such an event, the client should respect the window manager's request and maximize. It may unset the maximized state afterwards.

                                                                                                                                              zaura_toplevel
                                                                                                                                              request set_can_fullscreen()
                                                                                                                                              Available since version 58

                                                                                                                                                Hint that the toplevel surface can enter fullscreen

                                                                                                                                                Hints to the window manager that the toplevel surface can enter fullscreen.

                                                                                                                                                zaura_toplevel
                                                                                                                                                request unset_can_fullscreen()
                                                                                                                                                Available since version 58

                                                                                                                                                  Hint that the toplevel surface should not enter fullscreen

                                                                                                                                                  Hints to the window manager that the toplevel surface should not be enter fullscreen. Note that the window manager might still request the client enter fullscreen. In such an event, the client should respect the window manager's request and enter fullscreen. It may exit fullscreen afterwards.

                                                                                                                                                  zaura_toplevel
                                                                                                                                                  enum float_start_location {
                                                                                                                                                      bottom_right = 0,
                                                                                                                                                      bottom_left = 1,
                                                                                                                                                  }
                                                                                                                                                  • bottom_right — On float, surface goes to the bottom right of the work area. This is the default.
                                                                                                                                                  • bottom_left — On float, surface goes to the bottom left of the work area.

                                                                                                                                                  Specifies the location of a surface that just got floated.

                                                                                                                                                  Possible start locations if a surface gets floated.

                                                                                                                                                  zaura_toplevel
                                                                                                                                                  request set_float_to_location(
                                                                                                                                                      mode: uint<float_start_location>,
                                                                                                                                                  )
                                                                                                                                                  Available since version 59

                                                                                                                                                    float the surface on top

                                                                                                                                                    This is a request to place the surface above others.

                                                                                                                                                    zaura_toplevel
                                                                                                                                                    request set_window_corner_radii(
                                                                                                                                                        upper_left_radius: uint,
                                                                                                                                                        upper_right_radius: uint,
                                                                                                                                                        lower_right_radius: uint,
                                                                                                                                                        lower_left_radius: uint,
                                                                                                                                                    )
                                                                                                                                                    Available since version 60

                                                                                                                                                      Request to apply rounded corners to the window of the surface.

                                                                                                                                                      The client specifies the radius of each corner to be applied to the window in DPs (device independent pixels).

                                                                                                                                                      The window radius is double buffered, and will be applied at the time wl_surface.commit of the corresponding wl_surface is called.

                                                                                                                                                      Note: Rounded corner radii affects the wl_surface tree, including subsurfaces. Once this protocol is called, surfaces cannot set their own rounded corner bounds because rounded window bounds will be applied to the whole surface tree.

                                                                                                                                                      zaura_toplevel
                                                                                                                                                      enum in_overview {
                                                                                                                                                          not_in_overview = 0,
                                                                                                                                                          in_overview = 1,
                                                                                                                                                      }
                                                                                                                                                      • not_in_overview — the value is not in overview
                                                                                                                                                      • in_overview — the value is in overview

                                                                                                                                                      Describes whether or not the value is in overview

                                                                                                                                                      Binary enum maps to boolean, describes whether or not a value is in overview.

                                                                                                                                                      zaura_toplevel
                                                                                                                                                      event overview_change(
                                                                                                                                                          in_overview: uint<in_overview>,
                                                                                                                                                      )
                                                                                                                                                      Available since version 62
                                                                                                                                                      • in_overview — in overview or not

                                                                                                                                                      window is in overview

                                                                                                                                                      The window is being shown in overview mode. Note that this is different than shell overview state, as not all windows will be part of the overview grid.

                                                                                                                                                      zaura_toplevel
                                                                                                                                                      request set_shadow_corner_radii(
                                                                                                                                                          upper_left_radius: uint,
                                                                                                                                                          upper_right_radius: uint,
                                                                                                                                                          lower_right_radius: uint,
                                                                                                                                                          lower_left_radius: uint,
                                                                                                                                                      )
                                                                                                                                                      Available since version 63

                                                                                                                                                        Request to apply rounded corners to the shadow of the surface.

                                                                                                                                                        The client specifies the radius of each corner to be applied to the shadow associated with the aura toplevel surface in device independent pixels (DPs).

                                                                                                                                                        The shadow radius is double buffered, and will be applied at the time wl_surface.commit of the corresponding wl_surface is called.

                                                                                                                                                        zaura_toplevel
                                                                                                                                                        event configure_occlusion_state(
                                                                                                                                                            mode: uint<occlusion_state>,
                                                                                                                                                        )
                                                                                                                                                        Available since version 65

                                                                                                                                                          set the occlusion state during a configure

                                                                                                                                                          Sets the occlusion state of this window. This should be called during a configure event sequence. This is used when the occlusion state needs to be set as a synchronized operation, compared to occlusion_state_changed, which is not synchronized. For example, this can be used to mark a window as hidden so it can discard resources. When making it visible again, it may need some time to recreate its buffers, which is why this operation needs to be synchronized.

                                                                                                                                                          aura_shell
                                                                                                                                                          zaura_popup

                                                                                                                                                          Version 46

                                                                                                                                                          aura shell interface to the popup shell

                                                                                                                                                          An interface to the popup shell, which allows the client to access shell specific functionality.

                                                                                                                                                          zaura_popup
                                                                                                                                                          request surface_submission_in_pixel_coordinates()
                                                                                                                                                          Available since version 28

                                                                                                                                                            surface will be submitted in pixel coordinates

                                                                                                                                                            Informs the server that when submitting this surface, this client will not use wl_surface_set_buffer_scale to report the scales, nor will it apply scale via vp_viewporter. Instead the server should apply an appropriate scale transform for the submitted buffers to be composited correctly.

                                                                                                                                                            zaura_popup
                                                                                                                                                            request set_decoration(
                                                                                                                                                                type: uint,
                                                                                                                                                            )
                                                                                                                                                            Available since version 35
                                                                                                                                                            • type — the new frame type

                                                                                                                                                            request a decoration for surface

                                                                                                                                                            Clients are allowed to request a particular decoration for a zaura_toplevel. The server is not required to honor this request. See decoration_type for available options. Available since M105.

                                                                                                                                                            zaura_popup
                                                                                                                                                            enum decoration_type {
                                                                                                                                                                none = 0,
                                                                                                                                                                normal = 1,
                                                                                                                                                                shadow = 2,
                                                                                                                                                            }
                                                                                                                                                            • none — no frame
                                                                                                                                                            • normal — caption with shadow
                                                                                                                                                            • shadow — shadow only

                                                                                                                                                            different decoration types

                                                                                                                                                            Decoration types are used to modify the surface (e.g. drop shadow).

                                                                                                                                                            zaura_popup
                                                                                                                                                            request set_menu()
                                                                                                                                                            Available since version 37

                                                                                                                                                              set popup type to menu

                                                                                                                                                              Set popup type to menu

                                                                                                                                                              zaura_popup
                                                                                                                                                              request release()
                                                                                                                                                              DestructorAvailable since version 38

                                                                                                                                                                destroy zaura_popup

                                                                                                                                                                This request destroys the zaura_popup. A client should call destroy when the role is unmapped from a wl_surface.

                                                                                                                                                                See zaura_shell.release for destructor naming.

                                                                                                                                                                zaura_popup
                                                                                                                                                                request set_scale_factor(
                                                                                                                                                                    scale_factor_as_uint: uint,
                                                                                                                                                                )
                                                                                                                                                                Available since version 46

                                                                                                                                                                  Allows the client to set the scale factor for the future buffer commits.

                                                                                                                                                                  The client has a 32-bit float scale factor that is associated with each zaura popup. This scale factor must be propagated exactly to exo. To do so we reinterpret_cast into a 32-bit uint and later cast back into a float. This is because wayland does not support native transport of floats. As different CPU architectures may use different endian representations for IEEE 754 floats, this protocol implicitly assumes that the caller and receiver are the same machine. To avoid redundant messages, this request needs to only be called once when the zaura popup's scale factor changes.

                                                                                                                                                                  aura_shell
                                                                                                                                                                  zaura_output_manager

                                                                                                                                                                  Version 3

                                                                                                                                                                  aura shell interface to the output manager

                                                                                                                                                                  [Deprecated] Deprecated since M122. See the zaura_output_manager_v2 interface.

                                                                                                                                                                  A global responsible for ensuring clients have a complete view of a given output's state immediately following the bind of wl_output, and subsequently as needed.

                                                                                                                                                                  Clients can expect that all the manager's events for a given wl_output arrive before the associated wl_output.done event. Clients must bind to the manager global before any output globals.

                                                                                                                                                                  zaura_output_manager
                                                                                                                                                                  event done(
                                                                                                                                                                      output: object<wl_output>,
                                                                                                                                                                  )
                                                                                                                                                                  Available since version 1

                                                                                                                                                                    sent all information about output

                                                                                                                                                                    This event is sent after all relevant properties of a zaura_output_manager for a given wl_output have been sent.

                                                                                                                                                                    zaura_output_manager
                                                                                                                                                                    event display_id(
                                                                                                                                                                        output: object<wl_output>,
                                                                                                                                                                        display_id_hi: uint,
                                                                                                                                                                        display_id_lo: uint,
                                                                                                                                                                    )
                                                                                                                                                                    Available since version 1

                                                                                                                                                                      advertise the output's display id

                                                                                                                                                                      This event describes the 64bit display id assigned to each display by ChromeOS. The value is opaque and should not be interpreted.

                                                                                                                                                                      The event is sent when binding to the output object and subsequently as output state changes.

                                                                                                                                                                      zaura_output_manager
                                                                                                                                                                      event logical_position(
                                                                                                                                                                          output: object<wl_output>,
                                                                                                                                                                          x: int,
                                                                                                                                                                          y: int,
                                                                                                                                                                      )
                                                                                                                                                                      Available since version 1
                                                                                                                                                                      • x — x position within the global compositor space
                                                                                                                                                                      • y — y position within the global compositor space

                                                                                                                                                                      position of the output within the global compositor space

                                                                                                                                                                      The position event describes the location of the wl_output within the global compositor space.

                                                                                                                                                                      The event is sent when binding to the output object and subsequently as output state changes.

                                                                                                                                                                      zaura_output_manager
                                                                                                                                                                      event logical_size(
                                                                                                                                                                          output: object<wl_output>,
                                                                                                                                                                          width: int,
                                                                                                                                                                          height: int,
                                                                                                                                                                      )
                                                                                                                                                                      Available since version 1
                                                                                                                                                                      • width — width in global compositor space
                                                                                                                                                                      • height — height in global compositor space

                                                                                                                                                                      size of the output in the global compositor space

                                                                                                                                                                      The logical_size event describes the logical size of the output in the global compositor space.

                                                                                                                                                                      The event is sent when binding to the output object and subsequently as output state changes.

                                                                                                                                                                      zaura_output_manager
                                                                                                                                                                      event physical_size(
                                                                                                                                                                          output: object<wl_output>,
                                                                                                                                                                          width: int,
                                                                                                                                                                          height: int,
                                                                                                                                                                      )
                                                                                                                                                                      Available since version 1
                                                                                                                                                                      • width — width in global compositor space
                                                                                                                                                                      • height — height in global compositor space

                                                                                                                                                                      size of the output in pixels

                                                                                                                                                                      The physical resolution of the display in pixels. The value should not include any overscan insets or display rotation, except for any panel orientation adjustment.

                                                                                                                                                                      The event is sent when binding to the output object and subsequently as output state changes.

                                                                                                                                                                      zaura_output_manager
                                                                                                                                                                      event insets(
                                                                                                                                                                          output: object<wl_output>,
                                                                                                                                                                          top: int,
                                                                                                                                                                          left: int,
                                                                                                                                                                          bottom: int,
                                                                                                                                                                          right: int,
                                                                                                                                                                      )
                                                                                                                                                                      Available since version 1

                                                                                                                                                                        advertise the work area insets for the output

                                                                                                                                                                        This event describes the insets for the output in logical screen coordinates, from which the work area can be calculated.

                                                                                                                                                                        The event is sent when binding to the output object and subsequently as output state changes.

                                                                                                                                                                        zaura_output_manager
                                                                                                                                                                        event device_scale_factor(
                                                                                                                                                                            output: object<wl_output>,
                                                                                                                                                                            device_scale_factor: uint,
                                                                                                                                                                        )
                                                                                                                                                                        Available since version 1
                                                                                                                                                                        • device_scale_factor — display scale factor, in float format

                                                                                                                                                                        advertise device scale factor for the output

                                                                                                                                                                        The scale factor of the output device. We reinterpret_cast the float scale factor into a 32-bit uint and later cast back into a float. This is because wayland does not support native transport of floats. As different CPU architectures may use different endian representations for IEEE 754 floats, this protocol implicitly assumes that the caller and receiver are the same machine.

                                                                                                                                                                        The event is sent when binding to the output object and subsequently as output state changes.

                                                                                                                                                                        zaura_output_manager
                                                                                                                                                                        event logical_transform(
                                                                                                                                                                            output: object<wl_output>,
                                                                                                                                                                            transform: int<wl_output.transform>,
                                                                                                                                                                        )
                                                                                                                                                                        Available since version 1
                                                                                                                                                                        • transform — transform that maps framebuffer to output

                                                                                                                                                                        logical transform of the output

                                                                                                                                                                        This event describes the logical transform for the output. Whereas panel transform corresponds to the display's panel rotation, the logical transform corresponds to the display's logical rotation.

                                                                                                                                                                        The event is sent when binding to the output object and subsequently as output state changes.

                                                                                                                                                                        zaura_output_manager
                                                                                                                                                                        event panel_transform(
                                                                                                                                                                            output: object<wl_output>,
                                                                                                                                                                            transform: int<wl_output.transform>,
                                                                                                                                                                        )
                                                                                                                                                                        Available since version 1
                                                                                                                                                                        • transform — transform that maps framebuffer to output

                                                                                                                                                                        panel transform of the output

                                                                                                                                                                        This event describes the panel transform for the output, which is the associated display's panel rotation.

                                                                                                                                                                        The event is sent when binding to the output object and subsequently as output state changes.

                                                                                                                                                                        zaura_output_manager
                                                                                                                                                                        event name(
                                                                                                                                                                            output: object<wl_output>,
                                                                                                                                                                            name: string,
                                                                                                                                                                        )
                                                                                                                                                                        Available since version 1
                                                                                                                                                                        • name — output name

                                                                                                                                                                        human-readable name of this output

                                                                                                                                                                        The name is a UTF-8 string with no convention defined for its contents.

                                                                                                                                                                        The event is sent when binding to the output object and subsequently as output state changes.

                                                                                                                                                                        zaura_output_manager
                                                                                                                                                                        event description(
                                                                                                                                                                            output: object<wl_output>,
                                                                                                                                                                            description: string,
                                                                                                                                                                        )
                                                                                                                                                                        Available since version 1
                                                                                                                                                                        • description — output description

                                                                                                                                                                        human-readable description of this output

                                                                                                                                                                        The description is a UTF-8 string with no convention defined for its contents.

                                                                                                                                                                        The event is sent when binding to the output object and subsequently as output state changes.

                                                                                                                                                                        zaura_output_manager
                                                                                                                                                                        event activated(
                                                                                                                                                                            output: object<wl_output>,
                                                                                                                                                                        )
                                                                                                                                                                        Available since version 2

                                                                                                                                                                          target display for new windows

                                                                                                                                                                          Notifies that this output is now active output. It is typically used as a target when a new window is created without specific bounds.

                                                                                                                                                                          zaura_output_manager
                                                                                                                                                                          event overscan_insets(
                                                                                                                                                                              output: object<wl_output>,
                                                                                                                                                                              top: int,
                                                                                                                                                                              left: int,
                                                                                                                                                                              bottom: int,
                                                                                                                                                                              right: int,
                                                                                                                                                                          )
                                                                                                                                                                          Available since version 3

                                                                                                                                                                            advertise the overscan insets for the output

                                                                                                                                                                            This event describes the overscan insets for the output in physical pixels.

                                                                                                                                                                            The event is sent when binding to the output object and subsequently as output state changes.