mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-16 06:59:47 -05:00
compositor: Shut down properly so we remove the socket
This commit is contained in:
parent
2bb3ebe1e4
commit
50dc6989b8
2 changed files with 13 additions and 1 deletions
|
|
@ -581,7 +581,7 @@ x11_compositor_handle_event(int fd, uint32_t mask, void *data)
|
|||
client_message = (xcb_client_message_event_t *) event;
|
||||
atom = client_message->data.data32[0];
|
||||
if (atom == c->atom.wm_delete_window)
|
||||
exit(1);
|
||||
wl_display_terminate(c->base.wl_display);
|
||||
break;
|
||||
default:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue