mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-04-02 07:15:55 -04:00
fix: miss set floating window not overlap to non-custom pos client
This commit is contained in:
parent
b1e5da91f5
commit
a3bdb5138f
1 changed files with 1 additions and 2 deletions
|
|
@ -1294,7 +1294,6 @@ void applyrules(Client *c) {
|
||||||
const ConfigWinRule *r;
|
const ConfigWinRule *r;
|
||||||
Monitor *m = NULL;
|
Monitor *m = NULL;
|
||||||
Client *fc = NULL;
|
Client *fc = NULL;
|
||||||
bool hit_rule_pos = false;
|
|
||||||
Client *parent = NULL;
|
Client *parent = NULL;
|
||||||
|
|
||||||
parent = client_get_parent(c);
|
parent = client_get_parent(c);
|
||||||
|
|
@ -1424,7 +1423,7 @@ void applyrules(Client *c) {
|
||||||
arrange(c->mon, false, false);
|
arrange(c->mon, false, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (c->isfloating && !hit_rule_pos && !c->isnamedscratchpad) {
|
if (c->isfloating && !c->iscustompos && !c->isnamedscratchpad) {
|
||||||
wl_list_remove(&c->link);
|
wl_list_remove(&c->link);
|
||||||
wl_list_insert(clients.prev, &c->link);
|
wl_list_insert(clients.prev, &c->link);
|
||||||
set_float_malposition(c);
|
set_float_malposition(c);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue