wayland::serv...surface_resize(3)

πŸ’… wayland::server::shell_surface_resize β€” bestie, it's the resize edge enum

okay so picture this: you're in the Wayland++ manual, section 3 (the library-functions girly), and you've landed on wayland::server::shell_surface_resize. That's the whole vibe. Welcome, sit down, hydrate. πŸ¦‹

This one's a little struct full of static const edge values so a server can go "ah yes, they're dragging the bottom-right corner" and pick the cute cursor accordingly. Very demure, very mindful.


✨ NAME ✨

wayland::server::shell_surface_resize β€” edge values for resizing πŸ’…


🌸 SYNOPSIS 🌸

#include <wayland-server-protocol.hpp>

πŸŽ€ Static Public Attributes πŸŽ€

  • static const wayland::detail::bitfield< 4, 8 > none β€” no edge 🚫
  • static const wayland::detail::bitfield< 4, 8 > top β€” top edge ⬆️
  • static const wayland::detail::bitfield< 4, 8 > bottom β€” bottom edge ⬇️
  • static const wayland::detail::bitfield< 4, 8 > left β€” left edge ⬅️
  • static const wayland::detail::bitfield< 4, 8 > top_left β€” top and left edges ↖️
  • static const wayland::detail::bitfield< 4, 8 > bottom_left β€” bottom and left edges ↙️
  • static const wayland::detail::bitfield< 4, 8 > right β€” right edge ➑️
  • static const wayland::detail::bitfield< 4, 8 > top_right β€” top and right edges ↗️
  • static const wayland::detail::bitfield< 4, 8 > bottom_right β€” bottom and right edges β†˜οΈ

πŸ’– Detailed Description πŸ’–

edge values for resizing

These values are used to indicate which edge of a surface is being dragged in a resize operation. The server may use this information to adapt its behavior, e.g. choose an appropriate cursor image. πŸ–±οΈβœ¨

Definition at line 2031 of file wayland-server-protocol.hpp.

πŸ‘‘ Member Data Documentation πŸ‘‘

const wayland::detail::bitfield<4, 8> wayland::server::shell_surface_resize::bottom [static]

bottom edge ⬇️

Definition at line 2042 of file wayland-server-protocol.hpp.

const wayland::detail::bitfield<4, 8> wayland::server::shell_surface_resize::bottom_left [static]

bottom and left edges ↙️

Definition at line 2048 of file wayland-server-protocol.hpp.

const wayland::detail::bitfield<4, 8> wayland::server::shell_surface_resize::bottom_right [static]

bottom and right edges β†˜οΈ

Definition at line 2054 of file wayland-server-protocol.hpp.

const wayland::detail::bitfield<4, 8> wayland::server::shell_surface_resize::left [static]

left edge ⬅️

Definition at line 2044 of file wayland-server-protocol.hpp.

const wayland::detail::bitfield<4, 8> wayland::server::shell_surface_resize::none [static]

no edge 🚫

Definition at line 2038 of file wayland-server-protocol.hpp.

const wayland::detail::bitfield<4, 8> wayland::server::shell_surface_resize::right [static]

right edge ➑️

Definition at line 2050 of file wayland-server-protocol.hpp.

const wayland::detail::bitfield<4, 8> wayland::server::shell_surface_resize::top [static]

top edge ⬆️

Definition at line 2040 of file wayland-server-protocol.hpp.

const wayland::detail::bitfield<4, 8> wayland::server::shell_surface_resize::top_left [static]

top and left edges ↖️

Definition at line 2046 of file wayland-server-protocol.hpp.

const wayland::detail::bitfield<4, 8> wayland::server::shell_surface_resize::top_right [static]

top and right edges ↗️

Definition at line 2052 of file wayland-server-protocol.hpp.

🫢 Author 🫢

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


and that's the whole page bestie, no notes, ate and left no crumbs πŸ’…βœ¨

Version 1.0.1 β€” Fri Mar 27 2026 β€” that's the version and the date, mwah, love u, go resize something πŸŽ€

πŸ“¦ where this page comes from