mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-06 13:29:53 -05:00
fix: floating window shouldn't limit in tiled area
This commit is contained in:
parent
f3ab9d87a5
commit
7b527ed485
1 changed files with 2 additions and 2 deletions
|
|
@ -2750,7 +2750,7 @@ void commitnotify(struct wl_listener *listener, void *data) {
|
|||
return;
|
||||
}
|
||||
|
||||
resize(c, c->geom, (c->isfloating && !c->isfullscreen));
|
||||
resize(c, c->geom, 0);
|
||||
}
|
||||
|
||||
void destroydecoration(struct wl_listener *listener, void *data) {
|
||||
|
|
@ -4894,7 +4894,7 @@ void resize(Client *c, struct wlr_box geo, int interact) {
|
|||
c->need_output_flush = true;
|
||||
|
||||
// oldgeom = c->geom;
|
||||
bbox = interact ? &sgeom : &c->mon->w;
|
||||
bbox = (interact || (c->isfloating && !c->isfullscreen)) ? &sgeom : &c->mon->w;
|
||||
|
||||
if (strcmp(c->mon->pertag->ltidxs[c->mon->pertag->curtag]->name,
|
||||
"scroller") == 0 &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue