Patch from X512 (ticket #7408): Don't notify input server of focus change if window is not active.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42574 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
7949c8cbe4
commit
77f593de38
@ -3200,7 +3200,7 @@ BWindow::_SetFocus(BView* focusView, bool notifyInputServer)
|
||||
// we notify the input server if we are passing focus
|
||||
// from a view which has the B_INPUT_METHOD_AWARE to a one
|
||||
// which does not, or vice-versa
|
||||
if (notifyInputServer) {
|
||||
if (notifyInputServer && fActive) {
|
||||
bool inputMethodAware = false;
|
||||
if (focusView)
|
||||
inputMethodAware = focusView->Flags() & B_INPUT_METHOD_AWARE;
|
||||
|
Loading…
Reference in New Issue
Block a user