aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/transaction.c
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-07-28 10:00:04 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-07-28 22:40:43 +1000
commitd6daf10cad540f7581e9a325a041333d1113cae5 (patch)
tree694893ade47cc0aaf93c1312260f468965bca4d4 /sway/desktop/transaction.c
parentHandle out-of-fd situations gracefully for transaction and urgent timers (diff)
downloadsway-d6daf10cad540f7581e9a325a041333d1113cae5.tar.gz
sway-d6daf10cad540f7581e9a325a041333d1113cae5.tar.zst
sway-d6daf10cad540f7581e9a325a041333d1113cae5.zip
Show errno description in log
Diffstat (limited to 'sway/desktop/transaction.c')
-rw-r--r--sway/desktop/transaction.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/desktop/transaction.c b/sway/desktop/transaction.c
index a9c9cb58..17e3f467 100644
--- a/sway/desktop/transaction.c
+++ b/sway/desktop/transaction.c
@@ -319,9 +319,9 @@ static void transaction_commit(struct sway_transaction *transaction) {
319 if (transaction->timer) { 319 if (transaction->timer) {
320 wl_event_source_timer_update(transaction->timer, txn_timeout_ms); 320 wl_event_source_timer_update(transaction->timer, txn_timeout_ms);
321 } else { 321 } else {
322 wlr_log(WLR_ERROR, "Unable to create transaction timer. " 322 wlr_log(WLR_ERROR, "Unable to create transaction timer (%s). "
323 "There might not be any available file descriptors. " 323 "Some imperfect frames might be rendered.",
324 "Some imperfect frames might be rendered."); 324 strerror(errno));
325 handle_timeout(transaction); 325 handle_timeout(transaction);
326 } 326 }
327 } 327 }