summaryrefslogtreecommitdiff
path: root/devel/electron33/files/patch-ui_events_event.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron33/files/patch-ui_events_event.cc')
-rw-r--r--devel/electron33/files/patch-ui_events_event.cc29
1 files changed, 0 insertions, 29 deletions
diff --git a/devel/electron33/files/patch-ui_events_event.cc b/devel/electron33/files/patch-ui_events_event.cc
deleted file mode 100644
index 86622032b940..000000000000
--- a/devel/electron33/files/patch-ui_events_event.cc
+++ /dev/null
@@ -1,29 +0,0 @@
---- ui/events/event.cc.orig 2024-10-16 21:32:39 UTC
-+++ ui/events/event.cc
-@@ -366,7 +366,7 @@ MouseEvent::MouseEvent(const PlatformEvent& native_eve
- MouseEvent::MouseEvent(const PlatformEvent& native_event)
- : LocatedEvent(native_event),
- changed_button_flags_(GetChangedMouseButtonFlagsFromNative(native_event)),
--#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- movement_(GetMouseMovementFromNative(native_event)),
- #endif
- pointer_details_(GetMousePointerDetailsFromNative(native_event)) {
-@@ -622,7 +622,7 @@ std::unique_ptr<Event> MouseWheelEvent::Clone() const
- return std::make_unique<MouseWheelEvent>(*this);
- }
-
--#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // This value matches Windows, Fuchsia WHEEL_DELTA, and (roughly) Firefox on
- // Linux.
- // static
-@@ -882,7 +882,7 @@ void KeyEvent::InitializeNative() {
- if (synthesize_key_repeat_enabled_ && IsRepeated(GetLastKeyEvent()))
- SetFlags(flags() | EF_IS_REPEAT);
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- NormalizeFlags();
- #elif BUILDFLAG(IS_WIN)
- // Only Windows has native character events.