Lagrange [release]

macOS: Maximized window is not a special case

=> efb9ca399a71d89e4c931df8e3310af7ecf0d53c

diff --git a/src/ui/window.c b/src/ui/window.c
index 85666233..54422ef2 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -780,8 +780,8 @@ static void savePlace_MainWindow_(iAny *mainWindow) {
         iInt2 border = zero_I2();
 #if !defined(iPlatformApple)
         SDL_GetWindowBordersSize(d->base.win, &border.y, &border.x, NULL, NULL);
-#endif
         iAssert(~SDL_GetWindowFlags(d->base.win) & SDL_WINDOW_MAXIMIZED);
+#endif
         d->place.normalRect.pos =
             max_I2(zero_I2(), sub_I2(d->place.normalRect.pos, border));
     }
Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/release/cdiff/efb9ca399a71d89e4c931df8e3310af7ecf0d53c
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
74.926318 milliseconds
Gemini-to-HTML Time
0.269724 milliseconds

This content has been proxied by September (3851b).