aboutsummaryrefslogtreecommitdiff
path: root/sway/input
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-07-28 10:00:04 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-07-28 22:40:43 +1000
commitd6daf10cad540f7581e9a325a041333d1113cae5 (patch)
tree694893ade47cc0aaf93c1312260f468965bca4d4 /sway/input
parent32663b7b013e9c0fd37c1c86d6c26bc3156e1c3a (diff)
downloadsway-d6daf10cad540f7581e9a325a041333d1113cae5.tar.xz
Show errno description in log
Diffstat (limited to 'sway/input')
-rw-r--r--sway/input/seat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c
index ab07c03c..ce2e0936 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -700,8 +700,8 @@ void seat_set_focus_warp(struct sway_seat *seat,
wl_event_source_timer_update(view->urgent_timer,
config->urgent_timeout);
} else {
- wlr_log(WLR_ERROR, "Unable to create urgency timer. "
- "There might not be any available file descriptors.");
+ wlr_log(WLR_ERROR, "Unable to create urgency timer (%s)",
+ strerror(errno));
handle_urgent_timeout(view);
}
} else {