Commit 5aa88136 authored by Andrew Hodgkinson's avatar Andrew Hodgkinson
Browse files

Made frames_highlight_frame only work if KeyboardCtl=yes

parent 05b6437b
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment