mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
seamless restart: Fix positioning of hidden scratchpad windows following restart ref. #315
This commit is contained in:
parent
4c32f6f52d
commit
668e18fddf
@ -466,6 +466,13 @@ restorewindowfloatposition(Client *c, Monitor *m)
|
||||
c->sfw = w;
|
||||
c->sfh = h;
|
||||
|
||||
if (c->isfloating) {
|
||||
c->x = c->sfx;
|
||||
c->y = c->sfy;
|
||||
c->w = c->sfw;
|
||||
c->h = c->sfh;
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
#endif // SAVEFLOATS_PATCH
|
||||
|
Loading…
Reference in New Issue
Block a user