Bug 198557

Summary: Remove all -2 values for NoButton in favor of an optional type
Product: WebKit Reporter: Antoine Quint <graouts>
Component: UI EventsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: darin, dino
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=198462

Antoine Quint
Reported 2019-06-05 01:44:01 PDT
This is a follow-up task to https://bugs.webkit.org/show_bug.cgi?id=198462. We use magic -2 values in a bunch of places to identify that no button was pressed for mouse events. We should instead use an optional type.
Attachments
Note You need to log in before you can comment on or make changes to this bug.