summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2019-08-04 10:02:36 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2019-08-04 10:18:07 +0100
commit6d81f87c73244e16125b4dbf9ae2d35eda582ce3 (patch)
treefc1821af6f4db0819a5b10f42632c4e6c06f8c2c
parent337c2ed7b171d757516d6a828a062366f2d783e8 (diff)
downloadnetsurf-6d81f87c73244e16125b4dbf9ae2d35eda582ce3.tar.gz
netsurf-6d81f87c73244e16125b4dbf9ae2d35eda582ce3.tar.bz2
RISC OS: Set window has focus in local history open.
-rw-r--r--frontends/riscos/local_history.c1
1 files changed, 1 insertions, 0 deletions
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",