diff options
author | Hiroki Tagato <tagattie@FreeBSD.org> | 2021-05-12 06:00:55 +0000 |
---|---|---|
committer | Hiroki Tagato <tagattie@FreeBSD.org> | 2021-05-12 06:00:55 +0000 |
commit | 8737e5cfe767d5547c420365c51f999afd503327 (patch) | |
tree | d30282503adda8508ca65c465eaa8b8eba67c154 /devel/electron12/files/patch-chrome_browser_ui_views_tabs_tab__drag__controller.cc | |
parent | 14b915bc8f8965b573c38ddf4c49f7a916e1bbab (diff) | |
download | ports-8737e5cfe767d5547c420365c51f999afd503327.tar.gz ports-8737e5cfe767d5547c420365c51f999afd503327.zip |
devel/electron12: update to 12.0.7 (and rename from devel/electron11)
Diffstat (limited to 'devel/electron12/files/patch-chrome_browser_ui_views_tabs_tab__drag__controller.cc')
-rw-r--r-- | devel/electron12/files/patch-chrome_browser_ui_views_tabs_tab__drag__controller.cc | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/devel/electron12/files/patch-chrome_browser_ui_views_tabs_tab__drag__controller.cc b/devel/electron12/files/patch-chrome_browser_ui_views_tabs_tab__drag__controller.cc new file mode 100644 index 000000000000..d5e9ef1ed7b0 --- /dev/null +++ b/devel/electron12/files/patch-chrome_browser_ui_views_tabs_tab__drag__controller.cc @@ -0,0 +1,29 @@ +--- chrome/browser/ui/views/tabs/tab_drag_controller.cc.orig 2021-04-14 01:08:42 UTC ++++ chrome/browser/ui/views/tabs/tab_drag_controller.cc +@@ -447,7 +447,7 @@ void TabDragController::Init(TabDragContext* source_co + // synchronous on desktop Linux, so use that. + // - Chrome OS + // Releasing capture on Ash cancels gestures so avoid it. +-#if defined(OS_LINUX) || defined(OS_CHROMEOS) ++#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) + can_release_capture_ = false; + #endif + start_point_in_screen_ = gfx::Point(source_view_offset, mouse_offset.y()); +@@ -898,7 +898,7 @@ TabDragController::DragBrowserToNewTabStrip(TabDragCon + + // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch + // of lacros-chrome is complete. +-#if !(defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) ++#if !(defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD)) + // EndMoveLoop is going to snap the window back to its original location. + // Hide it so users don't see this. Hiding a window in Linux aura causes + // it to lose capture so skip it. +@@ -2117,7 +2117,7 @@ TabDragController::Liveness TabDragController::GetLoca + } + // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch + // of lacros-chrome is complete. +-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) ++#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD) + // Exclude windows which are pending deletion via Browser::TabStripEmpty(). + // These windows can be returned in the Linux Aura port because the browser + // window which was used for dragging is not hidden once all of its tabs are |