Blender V5.3
GWL_XDG_WindowIcon Struct Reference

#include <GHOST_WindowWayland.hh>

Public Attributes

struct wl_buffer * buffer = nullptr
void * buffer_data = nullptr
size_t buffer_size = 0
int icon_pixel_size = 0

Detailed Description

Icon buffer kept alive per the xdg_toplevel_icon_v1 spec. Freed on window destroy.

Definition at line 95 of file GHOST_WindowWayland.hh.

Member Data Documentation

◆ buffer

struct wl_buffer* GWL_XDG_WindowIcon::buffer = nullptr

◆ buffer_data

void* GWL_XDG_WindowIcon::buffer_data = nullptr

◆ buffer_size

size_t GWL_XDG_WindowIcon::buffer_size = 0

◆ icon_pixel_size

int GWL_XDG_WindowIcon::icon_pixel_size = 0

The icon dimensions in physical pixels (width == height, always square).

Definition at line 100 of file GHOST_WindowWayland.hh.

Referenced by GHOST_SystemWayland::xdg_toplevel_icon_update().


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