aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xwayland/selection/incoming.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xwayland/selection/incoming.c b/xwayland/selection/incoming.c
index ceca1190..7e2a0c14 100644
--- a/xwayland/selection/incoming.c
+++ b/xwayland/selection/incoming.c
@@ -24,10 +24,10 @@ static int xwm_data_source_write(int fd, uint32_t mask, void *data) {
ssize_t len = write(fd, property + transfer->property_start, remainder);
if (len == -1) {
+ wlr_log_errno(WLR_ERROR, "write error to target fd %d", fd);
xwm_selection_transfer_destroy_property_reply(transfer);
xwm_selection_transfer_remove_source(transfer);
xwm_selection_transfer_close_source_fd(transfer);
- wlr_log(WLR_ERROR, "write error to target fd: %m");
return 1;
}