fixed overlay follow head in virtualscreens

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6358 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen 2004-01-27 12:36:48 +00:00
parent cc6f554257
commit 1d102b08cd

View File

@ -602,7 +602,8 @@ status_t CONFIGURE_OVERLAY
{
case DUALHEAD_ON:
case DUALHEAD_SWITCH:
if ((ow->h_start + (ow->width / 2)) < (si->dm.virtual_width / 2))
if ((ow->h_start + (ow->width / 2)) <
(si->dm.h_display_start + si->dm.timing.h_display))
nv_bes_to_crtc(0);
else
nv_bes_to_crtc(1);