aboutsummaryrefslogtreecommitdiff
path: root/client/pool-buffer.c
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-08-30 10:05:04 +0200
committerFurkan Sahin <furkan-dev@proton.me>2018-08-30 10:05:04 +0200
commitbf8786315e3c62ce507e54e3151af5c071a97fb4 (patch)
tree04f878929f0783a1fd4a4236beccfc8eedfcd92c /client/pool-buffer.c
parent1f6511f11601fe125d9a66a6d1b8d769715e3272 (diff)
Add missing destroy calls to server_fini
Rootston calls "wlr_xwayland_destroy" and "wl_display_destroy_clients" on shutdown, but these were not called by Sway. Without them, Sway crashes on exit before the display destroy event handler could be called. This causes two problems: - The TTY is not reset, and it locks up after exiting Sway. - drmDropMaster is not called, and the implicit drop (that should occur when the DRM fd is closed) seems not to be working in some scenarios (e.g. if you have a tmux session running - maybe the fd is retained somehow by tmux?). In other words, it you exit Sway, you can't start it (or any other program that wants to be DRM master) again until you close all your tmux sessions.
Diffstat (limited to 'client/pool-buffer.c')
0 files changed, 0 insertions, 0 deletions