mirror of
https://github.com/swaywm/sway.git
synced 2025-11-13 13:29:49 -05:00
Revert "Merge pull request #1653 from swaywm/revert-1647-refactor-tree"
This reverts commit472e81f35d, reversing changes made to6b7841b11f.
This commit is contained in:
parent
472e81f35d
commit
dc8c9fbeb6
39 changed files with 593 additions and 588 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue