Changeset 57264 in vbox for trunk/src/VBox/Additions/x11/VBoxClient/seamless-x11.cpp
- Timestamp:
- Aug 10, 2015 6:33:20 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/seamless-x11.cpp
r57245 r57264 173 173 phChildren = phChildrenRaw; 174 174 for (unsigned i = 0; i < cChildren; ++i) 175 if (!mGuestWindows.find(phChildren[i])) 176 { 177 addClientWindow(phChildren[i]); 178 mChanged = true; 179 } 175 addClientWindow(phChildren[i]); 180 176 XFree(phChildrenRaw); 181 177 LogRelFlowFunc(("returning\n")); … … 188 184 XWindowAttributes winAttrib; 189 185 bool fAddWin = true; 190 Window hClient = 0; 191 186 Window hClient = XmuClientWindow(mDisplay, hWin); 187 188 if (isVirtualRoot(hClient)) 189 fAddWin = false; 192 190 if (fAddWin && !XGetWindowAttributes(mDisplay, hWin, &winAttrib)) 193 191 { … … 197 195 if (fAddWin && (winAttrib.map_state == IsUnmapped)) 198 196 fAddWin = false; 199 if (fAddWin)200 {201 hClient = XmuClientWindow(mDisplay, hWin);202 if (isVirtualRoot(hClient))203 fAddWin = false;204 }205 197 XSizeHints dummyHints; 206 198 long dummyLong; … … 312 304 mChanged = false; 313 305 XNextEvent(mDisplay, &event); 314 addClients(DefaultRootWindow(mDisplay));315 306 switch (event.type) 316 307 {
Note:
See TracChangeset
for help on using the changeset viewer.