VirtualBox

Ignore:
Timestamp:
Nov 22, 2010 9:23:13 PM (14 years ago)
Author:
vboxsync
Message:

3d: multimon support fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_muralfbo.c

    r31808 r34267  
    2828    for (i=0; i<cr_server.screenCount; ++i)
    2929    {
    30         if ((x>=cr_server.screen[i].x && x<=cr_server.screen[i].x+(int)cr_server.screen[i].w)
    31            && (y>=cr_server.screen[i].y && y<=cr_server.screen[i].y+(int)cr_server.screen[i].h))
     30        if ((x>=cr_server.screen[i].x && x<cr_server.screen[i].x+(int)cr_server.screen[i].w)
     31           && (y>=cr_server.screen[i].y && y<cr_server.screen[i].y+(int)cr_server.screen[i].h))
    3232        {
    3333            return i;
     
    6464
    6565    tlS = crServerGetPointScreen(mural->gX, mural->gY);
    66     brS = crServerGetPointScreen(mural->gX+mural->width, mural->gY+mural->height);
     66    brS = crServerGetPointScreen(mural->gX+mural->width-1, mural->gY+mural->height-1);
    6767
    6868    if (tlS==brS && tlS>=0)
     
    7373    else
    7474    {
    75         trS = crServerGetPointScreen(mural->gX+mural->width, mural->gY);
    76         blS = crServerGetPointScreen(mural->gX, mural->gY+mural->height);
     75        trS = crServerGetPointScreen(mural->gX+mural->width-1, mural->gY);
     76        blS = crServerGetPointScreen(mural->gX, mural->gY+mural->height-1);
    7777
    7878        primaryS = -1; overlappingScreenCount = 0;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette