fix: update NetSurf port & montauk frontend to use new paths for fonts and icons

This commit is contained in:
daniel committed 2026-09-30 08:47:44 +02:00
1 parent 6f3cf99667
commit 35e3d1a0bb
21 files changed
+3376 -34

No files matched your search

@@ -0,0 +1,28 @@
diff --git a/frontends/monkey/browser.c b/frontends/monkey/browser.c
--- a/frontends/monkey/browser.c
+++ b/frontends/monkey/browser.c
@@ -172,4 +172,24 @@ static void
gui_window_stop_throbber(struct gui_window *g)
{
+#if defined(__montauk__)
+ struct rect clip = {
+ .x0 = 0,
+ .y0 = 0,
+ .x1 = g->width,
+ .y1 = g->height
+ };
+ struct redraw_context ctx = {
+ .interactive = true,
+ .background_images = true,
+ .plot = monkey_plotters,
+ .priv = g
+ };
+ for (int y = 0; y < g->height; y++) {
+ for (int x = 0; x < g->width; x++)
+ g->pixels[y * g->width + x] = 0xffffffffu;
+ }
+ browser_window_redraw(g->bw, g->scrollx, g->scrolly, &clip, &ctx);
+ mtk_win_present(g->native_id);
+#endif
moutf(MOUT_WINDOW, "STOP_THROBBER WIN %u", g->win_num);
}