From 07baa16e051e58fc6e46d7eaa9c9ab62af830930 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 9 Aug 2004 06:29:46 +0000 Subject: [project @ 2004-08-09 06:29:46 by jmb] Ignore shaded text inputs when finding a place for the caret svn path=/import/netsurf/; revision=1200 --- riscos/wimp.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'riscos/wimp.c') diff --git a/riscos/wimp.c b/riscos/wimp.c index 8fe3b8b72..4c8981ac5 100644 --- a/riscos/wimp.c +++ b/riscos/wimp.c @@ -321,6 +321,11 @@ void ro_gui_set_caret_first(wimp_w w) { return; } + /* Ignore if it's shaded + */ + if (state.icon.flags & wimp_ICON_SHADED) + continue; + /* Check if it's writable */ button = (state.icon.flags >> wimp_ICON_BUTTON_TYPE_SHIFT) & 0xf; -- cgit v1.2.3