projects
/
goodguy
/
history.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d079f62
)
fix for wm that use borders with non-zero widths
author
Good Guy
<good1.2guy@gmail.com>
Mon, 19 Mar 2018 17:03:03 +0000
(11:03 -0600)
committer
Good Guy
<good1.2guy@gmail.com>
Mon, 19 Mar 2018 17:03:03 +0000
(11:03 -0600)
cinelerra-5.1/guicast/bcwindowbase.C
patch
|
blob
|
history
diff --git
a/cinelerra-5.1/guicast/bcwindowbase.C
b/cinelerra-5.1/guicast/bcwindowbase.C
index 3823853a9c43f03b97fdaa3f7c30e71b685b46ab..f9eb98f20b18ee5d22609326afcc0382f7283125 100644
(file)
--- 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_screens; ++i ) {
int scr_y = top_y - xinerama_info[i].y_org;
if( scr_y < 0 || scr_y >= xinerama_info[i].height ) continue;