mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 22:05:44 +00:00
Also init. clickcount and widget as per bryner's comments. sr=bryner
This commit is contained in:
parent
7ba2c90185
commit
e186e67209
@ -1005,6 +1005,8 @@ MenuHelpersX::DispatchCommandTo(nsIWeakReference* aWebShellWeakRef,
|
||||
// FIXME: Should probably figure out how to init this with the actual
|
||||
// pressed keys, but this is a big old edge case anyway. -dwh
|
||||
event.isShift = event.isControl = event.isAlt = event.isMeta = PR_FALSE;
|
||||
event.clickCount = 0;
|
||||
event.widget = null;
|
||||
|
||||
// See if we have a command element. If so, we execute on the
|
||||
// command instead of on our content element.
|
||||
|
Loading…
Reference in New Issue
Block a user