aboutsummaryrefslogtreecommitdiff
path: root/sway/input/input-manager.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-30 00:00:23 -0400
committerGitHub <noreply@github.com>2018-03-30 00:00:23 -0400
commit7162b9bea4d66d61376ad3605e23e2d83bb95201 (patch)
tree6f7a3121f15503a923c1ce53bf2bee368c6149a6 /sway/input/input-manager.c
parent472e81f35d689d67cda241acafda91c688d61046 (diff)
parent8f490d7d2dbadfe85dcf3dcd972471e86671442a (diff)
Merge pull request #1654 from acrisci/refactor-2-electric-boogaloo
Revert "Merge pull request #1653 from swaywm/revert-1647-refactor-tree"
Diffstat (limited to 'sway/input/input-manager.c')
-rw-r--r--sway/input/input-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/input/input-manager.c b/sway/input/input-manager.c
index 27c2c72e..d421a03f 100644
--- a/sway/input/input-manager.c
+++ b/sway/input/input-manager.c
@@ -278,7 +278,7 @@ struct sway_input_manager *sway_input_manager_create(
}
bool sway_input_manager_has_focus(struct sway_input_manager *input,
- swayc_t *container) {
+ struct sway_container *container) {
struct sway_seat *seat = NULL;
wl_list_for_each(seat, &input->seats, link) {
if (sway_seat_get_focus(seat) == container) {
@@ -290,7 +290,7 @@ bool sway_input_manager_has_focus(struct sway_input_manager *input,
}
void sway_input_manager_set_focus(struct sway_input_manager *input,
- swayc_t *container) {
+ struct sway_container *container) {
struct sway_seat *seat ;
wl_list_for_each(seat, &input->seats, link) {
sway_seat_set_focus(seat, container);