The xdg_shell interface




enum  zxdg_shell_v5_version { ZXDG_SHELL_V5_VERSION_CURRENT = 5, ZXDG_SHELL_V5_VERSION_CURRENT = 5 }


static void * zxdg_shell_v5_get_user_data (struct xdg_shell *xdg_shell)
static void zxdg_shell_v5_send_ping (struct wl_resource *resource_, uint32_t serial)
static void zxdg_shell_v5_set_user_data (struct xdg_shell *xdg_shell, void *user_data)

Detailed Description

xdg_shell allows clients to turn a wl_surface into a "real window" which can be dragged, resized, stacked, and moved around by the user.

Everything about this interface is suited towards traditional desktop environments.

Enumeration Type Documentation

enum zxdg_shell_v5_version

latest protocol version

The 'current' member of this enum gives the version of the protocol. Implementations can compare this to the version they implement using static_assert to ensure the protocol and implementation versions match.


Always the latest version.


Always the latest version.

Definition at line 240 of file wayland-xdg-shell-v5-server-protocol.h.

Function Documentation

static void zxdg_shell_v5_send_ping ( struct wl_resource *  resource_,
uint32_t  serial 

Sends an ping event to the client owning the resource.

resource_The client's resource
serialpass this to the pong request

Definition at line 387 of file wayland-xdg-shell-v5-server-protocol.h.

This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 19 2021 22:52:36 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.