diff options
author | Tudor Brindus <me@tbrindus.ca> | 2021-01-25 20:29:33 -0500 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-01-29 10:18:03 +0100 |
commit | dea94f2bad74bf3edf8ff9c44191c076b23efa23 (patch) | |
tree | f1c571515546e989f2f91b462b318f0508b4d1d0 /xwayland/selection/selection.c | |
parent | 10a2d57055c1a30130da1530243d391861f004f3 (diff) |
xwayland/selection: simplify incremental transfer control flow
Previously, if the Wayland client died before an incremental transfer
was complete, the logs would be spammed by "write error to target fd" as
wlroots entered some control flow wherein it'd continually try
scheduling further writes to the already-dead pipe.
This commit contains no behavioral changes, but introduces explicit
handling for draining the X11 selection in case of Wayland client death.
Diffstat (limited to 'xwayland/selection/selection.c')
0 files changed, 0 insertions, 0 deletions