Changeset 21441 in vbox for trunk/src/VBox/Additions/x11/VBoxClient
- Timestamp:
- Jul 9, 2009 2:02:45 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 49842
- Location:
- trunk/src/VBox/Additions/x11/VBoxClient
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/seamless-x11.cpp
r21227 r21441 149 149 freeWindowTree(); 150 150 addClients(DefaultRootWindow(mDisplay.get())); 151 mChanged = true; 151 152 } 152 153 … … 285 286 /* Start by sending information about the current window setup to the host. We do this 286 287 here because we want to send all such information from a single thread. */ 287 mObserver->notify(); 288 if (mChanged) 289 mObserver->notify(); 290 mChanged = false; 288 291 XNextEvent(mDisplay, &event); 289 292 switch (event.type) … … 340 343 iter->second->mapRects = rects; 341 344 } 345 mChanged = true; 342 346 } 343 347 LogFlowThisFunc(("returning\n")); … … 358 362 { 359 363 addClientWindow(hWin); 364 mChanged = true; 360 365 } 361 366 LogFlowThisFunc(("returning\n")); … … 384 389 iter->second->mcRects = cRects; 385 390 iter->second->mapRects = rects; 391 mChanged = true; 386 392 } 387 393 LogFlowThisFunc(("returning\n")); … … 402 408 { 403 409 mGuestWindows.removeWindow(iter); 410 mChanged = true; 404 411 } 405 412 LogFlowThisFunc(("returning\n")); -
trunk/src/VBox/Additions/x11/VBoxClient/seamless-x11.h
r21216 r21441 289 289 /** Is seamles mode currently enabled? */ 290 290 bool mEnabled; 291 /** Have there been changes since the last time we sent a notification? */ 292 bool mChanged; 291 293 292 294 // Private methods
Note:
See TracChangeset
for help on using the changeset viewer.