diff options
-rw-r--r-- | sway/desktop/transaction.c | 6 | ||||
-rw-r--r-- | sway/input/seat.c | 4 |
2 files changed, 5 insertions, 5 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 | } |
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, | |||
700 | wl_event_source_timer_update(view->urgent_timer, | 700 | wl_event_source_timer_update(view->urgent_timer, |
701 | config->urgent_timeout); | 701 | config->urgent_timeout); |
702 | } else { | 702 | } else { |
703 | wlr_log(WLR_ERROR, "Unable to create urgency timer. " | 703 | wlr_log(WLR_ERROR, "Unable to create urgency timer (%s)", |
704 | "There might not be any available file descriptors."); | 704 | strerror(errno)); |
705 | handle_urgent_timeout(view); | 705 | handle_urgent_timeout(view); |
706 | } | 706 | } |
707 | } else { | 707 | } else { |