mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
savefloats: set the _IS_FLOATING property also when restoring float position
This commit is contained in:
parent
1266f49707
commit
81ae102bb9
4
dwm.c
4
dwm.c
@ -3694,9 +3694,7 @@ togglefloating(const Arg *arg)
|
|||||||
if (c->sfx != -9999) {
|
if (c->sfx != -9999) {
|
||||||
/* restore last known float dimensions */
|
/* restore last known float dimensions */
|
||||||
resize(c, c->sfx, c->sfy, c->sfw, c->sfh, 0);
|
resize(c, c->sfx, c->sfy, c->sfw, c->sfh, 0);
|
||||||
arrange(c->mon);
|
} else
|
||||||
return;
|
|
||||||
}
|
|
||||||
#endif // SAVEFLOATS_PATCH // EXRESIZE_PATCH
|
#endif // SAVEFLOATS_PATCH // EXRESIZE_PATCH
|
||||||
resize(c, c->x, c->y, c->w, c->h, 0);
|
resize(c, c->x, c->y, c->w, c->h, 0);
|
||||||
#if SAVEFLOATS_PATCH || EXRESIZE_PATCH
|
#if SAVEFLOATS_PATCH || EXRESIZE_PATCH
|
||||||
|
Loading…
Reference in New Issue
Block a user