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:
Ryan Dwyer 2018-08-08 21:45:58 +10:00
parent c8a8216629
commit 1e984fec05

View file

@ -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;
}
/**