Lines Matching refs:focus

143 	EventTarget* focus = fDesktop->KeyboardEventTarget();
148 // TODO: this is a try to not steal focus from the current window
156 || (focus != fLastFocus && now - fTimestamp > 100000)) {
158 // we keep our previous focus alive - this is safe even
160 // it, and the event focus passed in is always valid (or NULL)
161 *_target = focus;
162 fLastFocus = focus;
165 *_target = focus;
166 fLastFocus = focus;
171 // we always allow to switch focus after the enter key has pressed
1126 and make it the focus window.
1208 // we're already the frontmost window, we might just not have focus
1392 // Remove the focus lock so the focus can be changed below
1990 the one having focus.
2012 /*! Tries to set the focus to the specified \a focus window. It will make sure,
2013 however, that the window actually can have focus. You are allowed to pass
2014 in a NULL pointer for \a focus.
2017 prevent it from getting focus.
2019 In any case, this method makes sure that there is a focus window, if there
2053 // the window that is supposed to get focus already has focus
2069 // If the last window having focus is a window that cannot make it
2070 // to the front, we use that as the next focus
2079 // make sure no window is chosen that doesn't want focus or cannot have it
2085 // turns out the window that is supposed to get focus now already has it
2104 // move current focus to the end of the focus list
3093 /*! Determines whether or not the specified \a window can have focus at all.
3652 // search for an unhidden window to give focus to
3892 // Set new focus, but keep focus to a floating window if still visible