mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +00:00
a better fix for 197230
This commit is contained in:
parent
b6ca176a9b
commit
8d4055c77a
@ -2520,8 +2520,9 @@ nsChildView::Idle()
|
||||
// if the command and alt keys are held down, initiate hand scrolling
|
||||
if ([ChildView areHandScrollModifiers:[theEvent modifierFlags]]) {
|
||||
[self startHandScroll: theEvent];
|
||||
// change focus to this view (normally the gecko event would cause this)
|
||||
[self becomeFirstResponder];
|
||||
// needed to change the focus, among other things, since we don't
|
||||
// get to do that below.
|
||||
[super mouseDown:theEvent];
|
||||
return; // do not pass this mousedown event to gecko
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user