mirror of
https://github.com/swaywm/sway.git
synced 2024-11-17 21:49:16 +00: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
|
@ -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