From 6d81f87c73244e16125b4dbf9ae2d35eda582ce3 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sun, 4 Aug 2019 10:02:36 +0100 Subject: RISC OS: Set window has focus in local history open. --- frontends/riscos/local_history.c | 1 + 1 file changed, 1 insertion(+) diff --git a/frontends/riscos/local_history.c b/frontends/riscos/local_history.c index 20ca9e224..1b7d11e07 100644 --- a/frontends/riscos/local_history.c +++ b/frontends/riscos/local_history.c @@ -384,6 +384,7 @@ ro_local_history_open(struct ro_local_history_window *lhw, wimp_w parent) state.visible.x1 = width; state.visible.y1 = height; state.next = wimp_HIDDEN; + state.flags |= wimp_WINDOW_HAS_FOCUS; error = xwimp_open_window(PTR_WIMP_OPEN(&state)); if (error) { NSLOG(netsurf, INFO, "xwimp_open_window: 0x%x: %s", -- cgit v1.2.3