xdg-shell: Add a "delete" event

Graphics / Wayland / Weston - Jasper St. Pierre [mecheye.net] - 6 February 2014 15:05 UTC

This is equivalent to WM_DELETE_WINDOW request under X11, or equivalent to pressing the "close" button under CSD. Weston currently doesn't have a compositor-side way to close the window, so no new code is needed on its side.

2097fe1 xdg-shell: Add a "delete" event
clients/window.c | 32 ++++++++++++++++++++------------
protocol/xdg-shell.xml | 13 +++++++++++++
2 files changed, 33 insertions(+), 12 deletions(-)

Upstream: cgit.freedesktop.org


  • Share