sync ports with The Matrix

This commit is contained in:
purplerain 2023-08-18 18:38:43 +00:00
parent 2c0afcbbf3
commit b72ce7a5e9
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
1248 changed files with 11809 additions and 12798 deletions

View file

@ -1,7 +1,7 @@
Index: ui/events/event.cc
--- ui/events/event.cc.orig
+++ ui/events/event.cc
@@ -420,7 +420,7 @@ std::string LocatedEvent::ToString() const {
@@ -427,7 +427,7 @@ std::string LocatedEvent::ToString() const {
MouseEvent::MouseEvent(const PlatformEvent& native_event)
: LocatedEvent(native_event),
changed_button_flags_(GetChangedMouseButtonFlagsFromNative(native_event)),
@ -10,7 +10,7 @@ Index: ui/events/event.cc
movement_(GetMouseMovementFromNative(native_event)),
#endif
pointer_details_(GetMousePointerDetailsFromNative(native_event)) {
@@ -675,7 +675,7 @@ std::unique_ptr<Event> MouseWheelEvent::Clone() const
@@ -676,7 +676,7 @@ std::unique_ptr<Event> MouseWheelEvent::Clone() const
return std::make_unique<MouseWheelEvent>(*this);
}
@ -19,7 +19,7 @@ Index: ui/events/event.cc
// This value matches Windows, Fuchsia WHEEL_DELTA, and (roughly) Firefox on
// Linux.
// static
@@ -930,7 +930,7 @@ void KeyEvent::InitializeNative() {
@@ -931,7 +931,7 @@ void KeyEvent::InitializeNative() {
if (synthesize_key_repeat_enabled_ && IsRepeated(GetLastKeyEvent()))
set_flags(flags() | EF_IS_REPEAT);