mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-08 13:29:56 -05:00
opt: optimize global and above x11 window judge
This commit is contained in:
parent
337f7cdd74
commit
e374e9c530
2 changed files with 16 additions and 10 deletions
|
|
@ -3905,7 +3905,7 @@ mapnotify(struct wl_listener *listener, void *data) {
|
|||
c->bw = borderpx;
|
||||
}
|
||||
|
||||
if (client_should_overtop(c) && !client_get_parent(c)) {
|
||||
if (client_should_global(c)) {
|
||||
c->isunglobal = 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue