diff options
| author | bakkeby <[email protected]> | 2022-12-14 17:56:50 +0100 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2022-12-14 17:56:50 +0100 |
| commit | 668e18fddf11ea3071c92fa348b316366ffaf66a (patch) | |
| tree | 1bc50c117ae90505c6dbbb4e996ca99b9e40b7a5 | |
| parent | 4c32f6f52d024c5bea66f00ee88ffd05c7676345 (diff) | |
| download | dwm-flexipatch-master.tar.gz dwm-flexipatch-master.zip | |
seamless restart: Fix positioning of hidden scratchpad windows following restart ref. #315master
| -rw-r--r-- | patch/seamless_restart.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/patch/seamless_restart.c b/patch/seamless_restart.c index 7241eea..2be269e 100644 --- a/patch/seamless_restart.c +++ b/patch/seamless_restart.c @@ -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 |
