VirtualBox

Changeset 7059 in vbox for trunk/src/VBox/Additions/x11


Ignore:
Timestamp:
Feb 20, 2008 6:40:00 PM (17 years ago)
Author:
vboxsync
Message:

Additions/x11: seamless fixes for Linux guests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/xclient/seamless-x11.cpp

    r7048 r7059  
    188188    VBoxGuestX11Pointer<XRectangle> rects;
    189189    int cRects = 0, iOrdering;
    190     int x, y;
    191     /** Dummy value for XTranslateCoordinates */
    192     Window dummyWin;
    193190
    194191    if (!XGetWindowAttributes(mDisplay, hWin, &winAttrib))
     
    207204    }
    208205    XSelectInput(mDisplay, hWin, StructureNotifyMask);
    209     XTranslateCoordinates(mDisplay, hWin, DefaultRootWindow(mDisplay.get()), winAttrib.x,
    210                           winAttrib.y, &x, &y, &dummyWin);
    211     mGuestWindows.addWindow(hWin, winAttrib.map_state != IsUnmapped, x, y,
     206    mGuestWindows.addWindow(hWin, winAttrib.map_state != IsUnmapped, winAttrib.x, winAttrib.y,
    212207                            winAttrib.width, winAttrib.height, cRects, rects);
    213208}
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