[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
This commit is contained in:
John Mark Bell 2004-08-09 06:29:46 +00:00
parent c992f6252c
commit 07baa16e05

View File

@ -321,6 +321,11 @@ void ro_gui_set_caret_first(wimp_w w) {
return; return;
} }
/* Ignore if it's shaded
*/
if (state.icon.flags & wimp_ICON_SHADED)
continue;
/* Check if it's writable /* Check if it's writable
*/ */
button = (state.icon.flags >> wimp_ICON_BUTTON_TYPE_SHIFT) & 0xf; button = (state.icon.flags >> wimp_ICON_BUTTON_TYPE_SHIFT) & 0xf;