From: Good Guy Date: Mon, 19 Mar 2018 17:03:03 +0000 (-0600) Subject: fix for wm that use borders with non-zero widths X-Git-Url: http://git.cinelerra-gg.org/git/?a=commitdiff_plain;h=2540fb803c017aefc97be227d8f910507787f366;p=goodguy%2Fhistory.git fix for wm that use borders with non-zero widths --- diff --git a/cinelerra-5.1/guicast/bcwindowbase.C b/cinelerra-5.1/guicast/bcwindowbase.C index 3823853a..f9eb98f2 100644 --- a/cinelerra-5.1/guicast/bcwindowbase.C +++ b/cinelerra-5.1/guicast/bcwindowbase.C @@ -3431,6 +3431,8 @@ BC_WindowBase::get_xinerama_info(int screen) return 0; } int top_x = get_x(), top_y = get_y(); + if( BC_DisplayInfo::left_border >= 0 ) top_x += BC_DisplayInfo::left_border; + if( BC_DisplayInfo::top_border >= 0 ) top_y += BC_DisplayInfo::top_border; for( int i=0; i= xinerama_info[i].height ) continue;