diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-03-29 14:31:10 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-03-29 14:31:10 -0400 |
commit | 83d09cf5945ba10a703dc5cc977a6d2814f0fd64 (patch) | |
tree | da290b9033e91b295fd01fcf84ca4e74c9a37c1a /sway/input/input-manager.c | |
parent | move tree includes to their own directory (diff) | |
download | sway-83d09cf5945ba10a703dc5cc977a6d2814f0fd64.tar.gz sway-83d09cf5945ba10a703dc5cc977a6d2814f0fd64.tar.zst sway-83d09cf5945ba10a703dc5cc977a6d2814f0fd64.zip |
remove swayc_t typedef
Diffstat (limited to 'sway/input/input-manager.c')
-rw-r--r-- | sway/input/input-manager.c | 4 |
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( | |||
278 | } | 278 | } |
279 | 279 | ||
280 | bool sway_input_manager_has_focus(struct sway_input_manager *input, | 280 | bool sway_input_manager_has_focus(struct sway_input_manager *input, |
281 | swayc_t *container) { | 281 | struct sway_container *container) { |
282 | struct sway_seat *seat = NULL; | 282 | struct sway_seat *seat = NULL; |
283 | wl_list_for_each(seat, &input->seats, link) { | 283 | wl_list_for_each(seat, &input->seats, link) { |
284 | if (sway_seat_get_focus(seat) == container) { | 284 | if (sway_seat_get_focus(seat) == container) { |
@@ -290,7 +290,7 @@ bool sway_input_manager_has_focus(struct sway_input_manager *input, | |||
290 | } | 290 | } |
291 | 291 | ||
292 | void sway_input_manager_set_focus(struct sway_input_manager *input, | 292 | void sway_input_manager_set_focus(struct sway_input_manager *input, |
293 | swayc_t *container) { | 293 | struct sway_container *container) { |
294 | struct sway_seat *seat ; | 294 | struct sway_seat *seat ; |
295 | wl_list_for_each(seat, &input->seats, link) { | 295 | wl_list_for_each(seat, &input->seats, link) { |
296 | sway_seat_set_focus(seat, container); | 296 | sway_seat_set_focus(seat, container); |