diff options
| author | Adam Gausmann <adam@nonemu.ninja> | 2017-12-13 15:16:42 -0600 |
|---|---|---|
| committer | Adam Gausmann <adam@nonemu.ninja> | 2017-12-14 21:57:02 -0600 |
| commit | 6cd66286f2520a4f1e3e67a74a8d223198d5b3d6 (patch) | |
| tree | 692eb70c5c97752726e84d7b1bc4832e1287f5d0 | |
| parent | 0f1ca2a5d31fcbf78762149a2ab24efb14f4f579 (diff) | |
Tabs got broken, fixed visibility check
| -rw-r--r-- | sway/handlers.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/handlers.c b/sway/handlers.c index 92bb319d..11282b2b 100644 --- a/sway/handlers.c +++ b/sway/handlers.c @@ -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; } |
