wayland::shell_surface_resize(3)

πŸ’… wayland::shell_surface_resize(3) πŸ’…

okay bestie, welcome to the Wayland++ corner of the manual β€” this page lives in section 3 and it's lowkey one of the shortest ✨ cutest ✨ little ones, so you're gonna eat this up fr fr. it's literally called wayland::shell_surface_resize and it's all about edge values for resizing πŸ¦‹


🌸 NAME 🌸

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


✨ SYNOPSIS ✨

first things first, you gotta bring the header in, no cap:

#include <wayland-client-protocol.hpp>

πŸŽ€ Static Public Attributes πŸŽ€

these are the girls. all of them are static const wayland::detail::bitfield< 4, 8 > and they all get a cute little value and a vibe 🩷

  • none {0} β€” no edge, she's not even here, she's at brunch πŸ₯
  • top {1} β€” top edge πŸ‘‘
  • bottom {2} β€” bottom edge πŸ‘
  • left {4} β€” left edge ⬅️
  • top_left {5} β€” top and left edges, corner girlie energy πŸ“
  • bottom_left {6} β€” bottom and left edges 🦢
  • right {8} β€” right edge ➑️
  • top_right {9} β€” top and right edges 🧭
  • bottom_right {10} β€” bottom and right edges πŸŒ™

πŸ’– Detailed Description πŸ’–

edge values for resizing. periodt, that's the headline πŸ”₯

so here's the tea: 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 β€” the og example being, like, choosing an appropriate cursor image πŸ–±οΈβœ¨ so when you see your cursor turn into that lil diagonal arrow, that's the vibe check paying off, iykyk.

ngl it's giving "small enum, big responsibility" β€” the server is literally watching which edge you grabbed, so pick the right one bestie πŸ’€

Definition at line 1898 of file wayland-client-protocol.hpp.


πŸ¦‹ Member Data Documentation πŸ¦‹

okay so now the individual girlies get their own lil spotlight, in alphabetical order because of course they do πŸ“š

const bitfield< 4, 8 > shell_surface_resize::bottom {2} [static]

bottom edge πŸ‘

Definition at line 1909 of file wayland-client-protocol.hpp.

const bitfield< 4, 8 > shell_surface_resize::bottom_left {6} [static]

bottom and left edges πŸ¦Άβ¬…οΈ

Definition at line 1915 of file wayland-client-protocol.hpp.

const bitfield< 4, 8 > shell_surface_resize::bottom_right {10} [static]

bottom and right edges 🦢➑️

Definition at line 1921 of file wayland-client-protocol.hpp.

const bitfield< 4, 8 > shell_surface_resize::left {4} [static]

left edge ⬅️

Definition at line 1911 of file wayland-client-protocol.hpp.

const bitfield< 4, 8 > shell_surface_resize::none {0} [static]

no edge 🚫 (she said "not participating" and honestly? respect πŸ™ˆ)

Definition at line 1905 of file wayland-client-protocol.hpp.

const bitfield< 4, 8 > shell_surface_resize::right {8} [static]

right edge ➑️

Definition at line 1917 of file wayland-client-protocol.hpp.

const bitfield< 4, 8 > shell_surface_resize::top {1} [static]

top edge πŸ‘‘

Definition at line 1907 of file wayland-client-protocol.hpp.

const bitfield< 4, 8 > shell_surface_resize::top_left {5} [static]

top and left edges πŸ“

Definition at line 1913 of file wayland-client-protocol.hpp.

const bitfield< 4, 8 > shell_surface_resize::top_right {9} [static]

top and right edges 🧭

Definition at line 1919 of file wayland-client-protocol.hpp.


🌈 Author 🌈

this page was Generated automatically by Doxygen for Wayland++ from the source code. πŸ€–βœ¨ so like, don't @ the human, there isn't one, the robot did it and honestly she ate πŸ’…


Version 1.0.1 Β· Fri Mar 27 2026 β€” mwah, that's the whole page bestie, go resize something cute πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from