mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 07:56:31 +01:00
Fix focus when clicking floating decorations
It's not right for container_at_view to only return the swayc if a surface was clicked.
This commit is contained in:
parent
c8a8216629
commit
1e984fec05
1 changed files with 1 additions and 2 deletions
|
@ -567,9 +567,8 @@ static struct sway_container *container_at_view(struct sway_container *swayc,
|
|||
*sx = _sx;
|
||||
*sy = _sy;
|
||||
*surface = _surface;
|
||||
return swayc;
|
||||
}
|
||||
return NULL;
|
||||
return swayc;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue