diff options
| author | Adam Gausmann <adam@nonemu.ninja> | 2017-12-12 18:58:19 -0600 |
|---|---|---|
| committer | Adam Gausmann <adam@nonemu.ninja> | 2017-12-14 21:57:02 -0600 |
| commit | 0f1ca2a5d31fcbf78762149a2ab24efb14f4f579 (patch) | |
| tree | c09b7e11544ed8a9d4164ea2db0a9cdbdb166058 | |
| parent | 52c4c166d83caa1f8a0d1fbc49deff65d9de0bcf (diff) | |
Fix windows being focused when invisible
| -rw-r--r-- | sway/handlers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/handlers.c b/sway/handlers.c index 33e75d6b..92bb319d 100644 --- a/sway/handlers.c +++ b/sway/handlers.c @@ -931,7 +931,7 @@ 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) { + if (c->border_type != B_NORMAL || !c->visible) { return false; } |
