Changeset 37719 in vbox
- Timestamp:
- Jun 30, 2011 8:25:42 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/seamless-x11.cpp
r37423 r37719 21 21 #include <iprt/err.h> 22 22 #include <iprt/assert.h> 23 #include <iprt/vector.h> 23 24 #include <VBox/log.h> 24 25 … … 29 30 30 31 #include <limits.h> 31 32 #include "vector.h"33 32 34 33 #ifdef TESTCASE … … 184 183 XWindowAttributes winAttrib; 185 184 bool fAddWin = true; 186 char *pszWinName = NULL;187 185 Window hClient = XmuClientWindow(mDisplay, hWin); 188 186 … … 261 259 if (windowTypeRaw) 262 260 XFree(windowTypeRaw); 263 LogRelFlowFunc(("returning % s\n", rc ? "true" : "false"));261 LogRelFlowFunc(("returning %RTbool\n", rc)); 264 262 return rc; 265 263 } … … 308 306 { 309 307 case ConfigureNotify: 308 { 309 XConfigureEvent *pConf = &event.xconfigure; 310 LogRelFlowFunc(("configure event, window=%lu, x=%i, y=%i, w=%i, h=%i, send_event=%RTbool\n", 311 (unsigned long) pConf->window, (int) pConf->x, 312 (int) pConf->y, (int) pConf->width, 313 (int) pConf->height, pConf->send_event)); 314 } 310 315 doConfigureEvent(event.xconfigure.window); 311 316 break; 312 317 case MapNotify: 318 LogRelFlowFunc(("map event, window=%lu, send_event=%RTbool\n", 319 (unsigned long) event.xmap.window, 320 event.xmap.send_event)); 313 321 doMapEvent(event.xmap.window); 314 322 break; 315 323 case VBoxShapeNotify: /* This is defined wrong in my X11 header files! */ 324 LogRelFlowFunc(("shape event, window=%lu, send_event=%RTbool\n", 325 (unsigned long) event.xany.window, 326 event.xany.send_event)); 316 327 /* the window member in xany is in the same place as in the shape event */ 317 328 doShapeEvent(event.xany.window); 318 329 break; 319 330 case UnmapNotify: 331 LogRelFlowFunc(("unmap event, window=%lu, send_event=%RTbool\n", 332 (unsigned long) event.xunmap.window, 333 event.xunmap.send_event)); 320 334 doUnmapEvent(event.xunmap.window); 321 335 break; … … 333 347 void VBoxGuestSeamlessX11::doConfigureEvent(Window hWin) 334 348 { 335 LogRelFlowFunc(("\n"));336 349 VBoxGuestWinInfo *pInfo = mGuestWindows.find(hWin); 337 350 if (pInfo) … … 361 374 mChanged = true; 362 375 } 363 LogRelFlowFunc(("returning\n"));364 376 } 365 377 … … 530 542 rc = true; 531 543 } 532 LogRelFlowFunc(("returning % s\n", rc ? "true" : "false"));544 LogRelFlowFunc(("returning %RTbool\n", rc)); 533 545 return rc; 534 546 }
Note:
See TracChangeset
for help on using the changeset viewer.