mirror of
https://github.com/swaywm/sway.git
synced 2026-04-26 06:46:26 -04:00
Allow input on subsurfaces extending beyond border for focused views
If a focused view has a subsurface that extends beyond the bounding box of the floating container, make sure that surface has an opportunity to capture input events. This is similar to what is already done for tiling containers.
This commit is contained in:
parent
3bb6cca045
commit
3648b6dea2
1 changed files with 1 additions and 1 deletions
|
|
@ -367,7 +367,7 @@ struct sway_container *container_at(struct sway_workspace *workspace,
|
|||
// Focused view's popups
|
||||
if (focus && focus->view) {
|
||||
c = surface_at_view(focus, lx, ly, surface, sx, sy);
|
||||
if (c && surface_is_popup(*surface)) {
|
||||
if (c && (is_floating || surface_is_popup(*surface))) {
|
||||
return c;
|
||||
}
|
||||
*surface = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue