mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
window-wayland: Implement kill
This commit is contained in:
parent
272676b896
commit
ef65848d11
@ -92,7 +92,13 @@ meta_window_wayland_delete (MetaWindow *window,
|
||||
static void
|
||||
meta_window_wayland_kill (MetaWindow *window)
|
||||
{
|
||||
/* TODO */
|
||||
MetaWaylandSurface *surface = window->surface;
|
||||
struct wl_resource *resource = surface->resource;
|
||||
|
||||
/* Send the client an unrecoverable error to kill the client. */
|
||||
wl_resource_post_error (resource,
|
||||
WL_DISPLAY_ERROR_NO_MEMORY,
|
||||
"User requested that we kill you. Sorry. Don't take it too personally.");
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user