Commit 7040ff3
fix: use inner_size on Windows to prevent window growing on each restart
On Windows, set_size() sets the client area but outer_size() includes
decorations, causing the window to grow by the decoration size on each
save/restore cycle. Use inner_size() on Windows for consistent round-trip.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent aab53fa commit 7040ff3
1 file changed
+18
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
362 | | - | |
363 | | - | |
364 | | - | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
365 | 380 | | |
366 | 381 | | |
367 | 382 | | |
| |||
0 commit comments