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