mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-02 09:01:43 -05:00
opt: only restore border when client is visible
This commit is contained in:
parent
607a0d63c1
commit
83b29a74cd
1 changed files with 1 additions and 1 deletions
|
|
@ -1081,7 +1081,7 @@ void apply_border(Client *c, struct wlr_box clip_box, int offsetx,
|
||||||
|
|
||||||
if(hit_no_border) {
|
if(hit_no_border) {
|
||||||
c->bw = 0;
|
c->bw = 0;
|
||||||
} else if(!c->isfullscreen) {
|
} else if(!c->isfullscreen && VISIBLEON(c, c->mon)) {
|
||||||
c->bw = borderpx;
|
c->bw = borderpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue