savefloats: set the _IS_FLOATING property also when restoring float position

This commit is contained in:
bakkeby 2020-10-11 11:55:15 +02:00
parent 1266f49707
commit 81ae102bb9

4
dwm.c
View File

@ -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