aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-apps_ui_views_app__window__frame__view.cc
blob: fc573f16a19b49181d3549b067c212cea16d716d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- apps/ui/views/app_window_frame_view.cc.orig	2017-06-05 19:03:00 UTC
+++ apps/ui/views/app_window_frame_view.cc
@@ -132,7 +132,7 @@ gfx::Rect AppWindowFrameView::GetBoundsForClientView()
 gfx::Rect AppWindowFrameView::GetWindowBoundsForClientBounds(
     const gfx::Rect& client_bounds) const {
   gfx::Rect window_bounds = client_bounds;
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
   // Get the difference between the widget's client area bounds and window
   // bounds, and grow |window_bounds| by that amount.
   gfx::Insets native_frame_insets =