mirror of
https://github.com/swaywm/sway.git
synced 2026-03-30 11:10:59 -04:00
Fix windows being focused when invisible
This commit is contained in:
parent
52c4c166d8
commit
0f1ca2a5d3
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue