---
name: "wayland_server_output_mode"
section: "3"
platform: "linux"
package: "waylandpp-dev"
version: "1.0.0-6+b2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/wayland_server_output_mode"
---

# wayland\_server\_output\_mode(3)

mode information

## NAME

wayland::server::output\_mode - mode information

## SYNOPSIS

`#include <wayland-server-protocol.hpp>`

Inherits wayland::detail::bitfield\< size, id \>.

### Static Public Attributes

static const wayland::detail::bitfield\< 2, 22 \> **current**\
 indicates this is the current mode  static const wayland::detail::bitfield\< 2, 22 \> **preferred**\
 indicates this is the preferred mode

## Detailed Description

mode information

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

Definition at line **4021** of file **wayland-server-protocol.hpp**.

## Member Data Documentation

### const wayland::detail::bitfield\<2, 22\> wayland::server::output\_mode::current` [static]`

indicates this is the current mode

Definition at line **4028** of file **wayland-server-protocol.hpp**.

### const wayland::detail::bitfield\<2, 22\> wayland::server::output\_mode::preferred` [static]`

indicates this is the preferred mode

Definition at line **4030** of file **wayland-server-protocol.hpp**.

## Author

Generated automatically by Doxygen for Wayland++ from the source code.
