Fix focus when clicking floating decorations

It's not right for container_at_view to only return the swayc if a
surface was clicked.
master
Ryan Dwyer 6 years ago
parent c8a8216629
commit 1e984fec05

@ -567,9 +567,8 @@ static struct sway_container *container_at_view(struct sway_container *swayc,
*sx = _sx; *sx = _sx;
*sy = _sy; *sy = _sy;
*surface = _surface; *surface = _surface;
return swayc;
} }
return NULL; return swayc;
} }
/** /**

Loading…
Cancel
Save