=> fbb0ddc8d1438721debeb471ce601ebceca3200a
[1mdiff --git a/src/ui/util.c b/src/ui/util.c[m [1mindex 55fd2df5..4da0a597 100644[m [1m--- a/src/ui/util.c[m [1m+++ b/src/ui/util.c[m [36m@@ -1197,7 +1197,7 @@[m [mvoid openMenuFlags_Widget(iWidget *d, iInt2 windowCoord, int menuOpenFlags) {[m }[m }[m }[m [31m-#if defined (LAGRANGE_ENABLE_POPUP_MENUS)[m [32m+[m[32m#if defined (LAGRANGE_ENABLE_POPUP_MENUS) && !defined (iPlatformTerminal)[m /* Determine total display bounds where the popup may appear. */[m iRect displayRect = zero_Rect(); [m for (int i = 0; i < SDL_GetNumVideoDisplays(); i++) {[m [1mdiff --git a/src/ui/window.c b/src/ui/window.c[m [1mindex 7b11684e..82d3a0cd 100644[m [1m--- a/src/ui/window.c[m [1m+++ b/src/ui/window.c[m [36m@@ -316,6 +316,7 @@[m [mfloat displayDensity_Android(void);[m #endif[m [m static float displayScale_Window_(const iWindow *d) {[m [32m+[m[32m#if !defined (iPlatformTerminal)[m /* The environment variable LAGRANGE_OVERRIDE_DPI can be used to override the automatic[m display DPI detection. If not set, or is an empty string, ignore it.[m Note: the same value used for all displays. */[m [36m@@ -333,6 +334,7 @@[m [mstatic float displayScale_Window_(const iWindow *d) {[m LAGRANGE_OVERRIDE_DPI with the empty string. */[m setenv("LAGRANGE_OVERRIDE_DPI", "", 1);[m }[m [32m+[m[32m#endif[m #if defined (iPlatformApple) || defined (iPlatformTerminal)[m iUnused(d);[m /* Apple UI sizes are fixed and only scaled by pixel ratio. */[m
text/gemini; charset=utf-8
This content has been proxied by September (ba2dc).