summaryrefslogtreecommitdiffstats
path: root/sway/input
diff options
context:
space:
mode:
authorLibravatar Scott Leggett <scott@sl.id.au>2018-05-28 00:55:25 +1000
committerLibravatar Scott Leggett <scott@sl.id.au>2018-05-28 01:38:46 +1000
commitd1ebbebea0db2f60f0ed03c2022db50830226ec1 (patch)
tree7a310559613db17296a6000a5700d47456d19c2b /sway/input
parentSimplify logic, remove redundant variables. (diff)
downloadsway-d1ebbebea0db2f60f0ed03c2022db50830226ec1.tar.gz
sway-d1ebbebea0db2f60f0ed03c2022db50830226ec1.tar.zst
sway-d1ebbebea0db2f60f0ed03c2022db50830226ec1.zip
Remove unused function.
Diffstat (limited to 'sway/input')
-rw-r--r--sway/input/seat.c7
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
733struct 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
740struct sway_container *seat_get_focus(struct sway_seat *seat) { 733struct 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;