diff --git a/c/Frames b/c/Frames index 177e28f22cb52317ced219c8b92afea28981d340..958cc27176206a1e449a89c10c46fbe5bae3670c 100644 --- a/c/Frames +++ b/c/Frames @@ -1861,7 +1861,8 @@ static browser_data * frames_find_previous_frame(browser_data * check, browser_d /* removed by a NULL poll timer. */ /* */ /* Currently, the highlight will not move with */ -/* the parent browser window. */ +/* the parent browser window and will only show */ +/* if keyboard control is enabled. */ /* */ /* Parameters: Pointer to a browser_data struct */ /* relevant to the frame to be */ @@ -1876,6 +1877,12 @@ _kernel_oserror * frames_highlight_frame(browser_data * b) _kernel_oserror * e; BBox top, bottom, left, right; + /* Don't do anything if not using keyboard control */ + + if (!choices.keyboardctl) return NULL; + + /* Otherwise, proceed */ + if (!ancestor) ancestor = b; s.window_handle = b->window_handle;