---
name: "wayland_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_output_mode"
---

# wayland\_output\_mode(3)

mode information

## NAME

wayland::output\_mode - mode information

## SYNOPSIS

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

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

### Static Public Attributes

static const wayland::detail::bitfield\< 2, 22 \> **current** {0x1}\
 indicates this is the current mode  static const wayland::detail::bitfield\< 2, 22 \> **preferred** {0x2}\
 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 **3764** of file **wayland-client-protocol.hpp**.

## Member Data Documentation

### const bitfield\< 2, 22 \> output\_mode::current {0x1}` [static]`

indicates this is the current mode

Definition at line **3771** of file **wayland-client-protocol.hpp**.

### const bitfield\< 2, 22 \> output\_mode::preferred {0x2}` [static]`

indicates this is the preferred mode

Definition at line **3773** of file **wayland-client-protocol.hpp**.

## Author

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