mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1016200 - Single click stop working in web content, require double click. r=spohl
This commit is contained in:
parent
482974e2f2
commit
71940f594d
@ -571,9 +571,10 @@ nsAppShell::ProcessNextNativeEvent(bool aMayWait)
|
||||
}
|
||||
EventAttributes attrs = GetEventAttributes(currentEvent);
|
||||
UInt32 eventKind = GetEventKind(currentEvent);
|
||||
UInt32 eventClass = GetEventClass(currentEvent);
|
||||
bool osCocoaEvent =
|
||||
((GetEventClass(currentEvent) == 'cgs ') &&
|
||||
((eventKind == NSAppKitDefined) || (eventKind == NSSystemDefined)));
|
||||
((eventClass == 'appl') ||
|
||||
((eventClass == 'cgs ') && (eventKind != NSApplicationDefined)));
|
||||
// If attrs is kEventAttributeUserEvent or kEventAttributeMonitored
|
||||
// (i.e. a user input event), we shouldn't process it here while
|
||||
// aMayWait is false. Likewise if currentEvent will eventually be
|
||||
|
Loading…
Reference in New Issue
Block a user