package wayland
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=4eb323e42a8c64e9e49b15a588342bfcc1e99640305cb261d128c75612d9458c
sha512=1478b79022c5e12199b9c724e49a9832166cd4979da9c4bf38d9f06970dafb8c51a11324b772dc982f56e58307c8bc17962948987fb30fec1fdb104f6e63b15b
doc/wayland.protocols/Wayland_protocols/Xdg_shell_server/Xdg_wm_base/index.html
Module Xdg_shell_server.Xdg_wm_base
Source
Create desktop-style surfaces.
The xdg_wm_base interface is exposed as a global object enabling clients to turn their wl_surfaces into windows in a desktop environment. It defines the basic functionality needed for clients and the compositor to create windows that can be dragged, resized, maximized, etc, as well as creating transient windows such as popup menus.
Version 1, 2, 3
Check if the client is alive.
The ping event asks the client if it's still alive. Pass the serial specified in the event back to the compositor by sending a "pong" request back with the specified serial. See xdg_wm_base.pong.
Compositors can use this to determine if the client is still alive. It's unspecified what will happen if the client doesn't respond to the ping request, or in what timeframe. Clients should try to respond in a reasonable amount of time.
A compositor is free to ping in any way it wants, but a client must always respond to any xdg_wm_base object it created.
Handlers
Note: Servers will always want to use v1
.