wayland::output_mode(3)
π wayland::output_mode(3) β the Wayland++ glamour era
ok so bestie, welcome to wayland::output_mode π β this is a page straight out of the Wayland++ manual, section 3, and it's genuinely just a little box of mode-info flags. tiny page, big slay. let's get into it β¨
πΈ NAME πΈ
wayland::output_mode β mode information. that's it. that's the whole thing. it's giving "small but mighty" π
β¨ SYNOPSIS β¨
first things first, you gotta let the compiler know you're invited to the party:
#include <wayland-client-protocol.hpp>
π¦ 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 β
like, look at that bitfield< 2, 22 > β she's specific, she's typed, she knows exactly what she is. no cap. π
π Detailed Description π
mode information β literally the whole vibe.
so these flags describe properties of an output mode. highkey important detail right here: they get used in the flags bitfield of the mode event. that's the plug, that's where they actually show up π«Ά
fr fr, if you're poking at modes and wondering "where do these flags even live" β it's the flags bitfield of the mode event. iykyk π
Definition at line 3765 of file wayland-client-protocol.hpp. (yes, line 3765, she's deep in there π)
π Member Data Documentation π
π« const bitfield< 2, 22 > output_mode::current {0x1} [static]
indicates this is the current mode β like, the mode the output is actually running right now, the main character of the moment π
Definition at line 3772 of file wayland-client-protocol.hpp.
π« const bitfield< 2, 22 > output_mode::preferred {0x2} [static]
indicates this is the preferred mode β the one the output is like "yeah, this is my favourite, this is the one i'd pick" β
Definition at line 3774 of file wayland-client-protocol.hpp.
π Author π
Generated automatically by Doxygen for Wayland++ from the source code. β so nobody hand-wrote this, the machine did it, and honestly? it ate π€β¨
and that's the page, bestie! stay hydrated, keep your bitfields close, and remember: 0x1 is current, 0x2 is preferred, and both are bitfield< 2, 22 > because consistency is iconic π
π¦
β signed, sealed, delivered: Version 1.0.1, dated Fri Mar 27 2026 13:15:00, filed under wayland::output_mode(3). periodt. ππ
π¦ where this page comes from
- ubuntu stonking: waylandpp-dev 1.0.1-2 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms