Tabs got broken, fixed visibility check

This commit is contained in:
Adam Gausmann 2017-12-13 15:16:42 -06:00
parent 0f1ca2a5d3
commit 6cd66286f2

View file

@ -931,7 +931,8 @@ static bool swayc_border_check(swayc_t *c, const void *_origin) {
const struct wlc_point *origin = _origin;
const struct wlc_geometry title_bar = c->title_bar_geometry;
if (c->border_type != B_NORMAL || !c->visible) {
if (c->border_type != B_NORMAL
|| (c->parent != NULL && !c->parent->visible)) {
return false;
}