Blender V4.3
GWL_XDG_Decor_Window Struct Reference

Public Attributes

xdg_surface * surface = nullptr
 
zxdg_toplevel_decoration_v1 * toplevel_decor = nullptr
 
xdg_toplevel * toplevel = nullptr
 
enum zxdg_toplevel_decoration_v1_mode mode = (enum zxdg_toplevel_decoration_v1_mode)0
 
struct { 
 
   bool   ack_configure = false 
 
   uint32_t   ack_configure_serial = 0 
 
pending 
 
bool initial_configure_seen = false
 
int initial_bounds [2] = {0, 0}
 

Detailed Description

Definition at line 160 of file GHOST_WindowWayland.cc.

Member Data Documentation

◆ ack_configure

bool GWL_XDG_Decor_Window::ack_configure = false

When set, ACK configure is expected.

Definition at line 172 of file GHOST_WindowWayland.cc.

Referenced by gwl_window_frame_update_from_pending_no_lock(), and xdg_surface_handle_configure().

◆ ack_configure_serial

uint32_t GWL_XDG_Decor_Window::ack_configure_serial = 0

The serial to pass to ACK configure.

Definition at line 174 of file GHOST_WindowWayland.cc.

Referenced by gwl_window_frame_update_from_pending_no_lock(), and xdg_surface_handle_configure().

◆ initial_bounds

int GWL_XDG_Decor_Window::initial_bounds[2] = {0, 0}

The maximum bounds on startup, monitor size minus docs for example.

Definition at line 180 of file GHOST_WindowWayland.cc.

Referenced by GHOST_WindowWayland::GHOST_WindowWayland(), and xdg_toplevel_handle_configure_bounds().

◆ initial_configure_seen

bool GWL_XDG_Decor_Window::initial_configure_seen = false

The window has been configured (see #xdg_surface_ack_configure).

Definition at line 178 of file GHOST_WindowWayland.cc.

Referenced by GHOST_WindowWayland::GHOST_WindowWayland(), gwl_window_frame_update_from_pending_no_lock(), and xdg_toplevel_handle_configure_bounds().

◆ mode

enum zxdg_toplevel_decoration_v1_mode GWL_XDG_Decor_Window::mode = (enum zxdg_toplevel_decoration_v1_mode)0

Definition at line 164 of file GHOST_WindowWayland.cc.

Referenced by xdg_toplevel_decoration_handle_configure().

◆ [struct]

struct { ... } GWL_XDG_Decor_Window::pending

Defer calling #xdg_surface_ack_configure.

Note
Accessing the members must lock on win->frame_pending_mutex.

Referenced by gwl_window_frame_update_from_pending_no_lock(), and xdg_surface_handle_configure().

◆ surface

◆ toplevel

◆ toplevel_decor

zxdg_toplevel_decoration_v1* GWL_XDG_Decor_Window::toplevel_decor = nullptr

The documentation for this struct was generated from the following file: