aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/seat.c
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-09-16 22:01:54 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-09-16 22:01:54 +1000
commitf6e218a64371b02afdf6b7812a52d70b13635ef3 (patch)
tree7348bf536a2bfbdedabe28d00a3c49b1bfcb559a /sway/input/seat.c
parentMake seat_get_active_child ignore floating children (diff)
downloadsway-f6e218a64371b02afdf6b7812a52d70b13635ef3.tar.gz
sway-f6e218a64371b02afdf6b7812a52d70b13635ef3.tar.zst
sway-f6e218a64371b02afdf6b7812a52d70b13635ef3.zip
Rename seat_get_active_child to seat_get_active_tiling_child
Also renames container to con in one function to prevent ugly line wrapping.
Diffstat (limited to 'sway/input/seat.c')
-rw-r--r--sway/input/seat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c
index 6d02970d..49fe46ba 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -880,7 +880,7 @@ struct sway_container *seat_get_focus_inactive_floating(struct sway_seat *seat,
880 return NULL; 880 return NULL;
881} 881}
882 882
883struct sway_node *seat_get_active_child(struct sway_seat *seat, 883struct sway_node *seat_get_active_tiling_child(struct sway_seat *seat,
884 struct sway_node *parent) { 884 struct sway_node *parent) {
885 if (node_is_view(parent)) { 885 if (node_is_view(parent)) {
886 return parent; 886 return parent;