diff options
Diffstat (limited to 'sway/input/seat.c')
-rw-r--r-- | sway/input/seat.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c index f216810b..8cb1d8e9 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c | |||
@@ -1,7 +1,6 @@ | |||
1 | #define _POSIX_C_SOURCE 200809L | 1 | #define _POSIX_C_SOURCE 200809L |
2 | #include <assert.h> | ||
3 | #include <errno.h> | ||
4 | #include <linux/input-event-codes.h> | 2 | #include <linux/input-event-codes.h> |
3 | #include <string.h> | ||
5 | #include <strings.h> | 4 | #include <strings.h> |
6 | #include <time.h> | 5 | #include <time.h> |
7 | #include <wlr/types/wlr_cursor.h> | 6 | #include <wlr/types/wlr_cursor.h> |
@@ -839,8 +838,7 @@ void seat_set_focus(struct sway_seat *seat, struct sway_node *node) { | |||
839 | wl_event_source_timer_update(view->urgent_timer, | 838 | wl_event_source_timer_update(view->urgent_timer, |
840 | config->urgent_timeout); | 839 | config->urgent_timeout); |
841 | } else { | 840 | } else { |
842 | sway_log(SWAY_ERROR, "Unable to create urgency timer (%s)", | 841 | sway_log_errno(SWAY_ERROR, "Unable to create urgency timer"); |
843 | strerror(errno)); | ||
844 | handle_urgent_timeout(view); | 842 | handle_urgent_timeout(view); |
845 | } | 843 | } |
846 | } else { | 844 | } else { |