Changeset 7059 in vbox for trunk/src/VBox/Additions/x11
- Timestamp:
- Feb 20, 2008 6:40:00 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/xclient/seamless-x11.cpp
r7048 r7059 188 188 VBoxGuestX11Pointer<XRectangle> rects; 189 189 int cRects = 0, iOrdering; 190 int x, y;191 /** Dummy value for XTranslateCoordinates */192 Window dummyWin;193 190 194 191 if (!XGetWindowAttributes(mDisplay, hWin, &winAttrib)) … … 207 204 } 208 205 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, 212 207 winAttrib.width, winAttrib.height, cRects, rects); 213 208 }
Note:
See TracChangeset
for help on using the changeset viewer.