diff options
Diffstat (limited to 'sway/input/seat.c')
-rw-r--r-- | sway/input/seat.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c index 7a3e928a..6cfbe8d4 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c | |||
@@ -730,13 +730,6 @@ struct sway_container *seat_get_active_child(struct sway_seat *seat, | |||
730 | return focus; | 730 | return focus; |
731 | } | 731 | } |
732 | 732 | ||
733 | struct sway_container *sway_seat_get_focus(struct sway_seat *seat) { | ||
734 | if (!seat->has_focus) { | ||
735 | return NULL; | ||
736 | } | ||
737 | return seat_get_focus_inactive(seat, &root_container); | ||
738 | } | ||
739 | |||
740 | struct sway_container *seat_get_focus(struct sway_seat *seat) { | 733 | struct sway_container *seat_get_focus(struct sway_seat *seat) { |
741 | if (!seat->has_focus) { | 734 | if (!seat->has_focus) { |
742 | return NULL; | 735 | return NULL; |