mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Clean up events
This commit is contained in:
parent
446ea3a340
commit
80586b8f6b
1 changed files with 2 additions and 0 deletions
|
|
@ -265,6 +265,8 @@ static int xwayland_socket_connected(int fd, uint32_t mask, void* data){
|
||||||
wl_event_source_remove(wlr_xwayland->x_fd_read_event[0]);
|
wl_event_source_remove(wlr_xwayland->x_fd_read_event[0]);
|
||||||
wl_event_source_remove(wlr_xwayland->x_fd_read_event[1]);
|
wl_event_source_remove(wlr_xwayland->x_fd_read_event[1]);
|
||||||
|
|
||||||
|
wlr_xwayland->x_fd_read_event[0] = wlr_xwayland->x_fd_read_event[1] = NULL;
|
||||||
|
|
||||||
xwayland_start_server(wlr_xwayland);
|
xwayland_start_server(wlr_xwayland);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue