Changeset 27709 in vbox for trunk/src/VBox/Additions/x11/VBoxClient/display.cpp
- Timestamp:
- Mar 25, 2010 3:01:21 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/display.cpp
r27601 r27709 45 45 uint32_t fMouseFeatures = 0; 46 46 47 Log FlowFunc(("testing dynamic resizing\n"));47 LogRelFlowFunc(("testing dynamic resizing\n")); 48 48 int iDummy; 49 49 if (!XRRQueryExtension(pDisplay, &iDummy, &iDummy)) … … 55 55 /* Log and ignore the return value, as there is not much we can do with 56 56 * it. */ 57 Log FlowFunc(("dynamic resizing: result %Rrc\n", rc));57 LogRelFlowFunc(("dynamic resizing: result %Rrc\n", rc)); 58 58 /* Enable support for switching between hardware and software cursors */ 59 Log FlowFunc(("enabling relative mouse re-capturing support\n"));59 LogRelFlowFunc(("enabling relative mouse re-capturing support\n")); 60 60 rc = VbglR3GetMouseStatus(&fMouseFeatures, NULL, NULL); 61 61 if (RT_SUCCESS(rc)) … … 79 79 | VMMDEV_MOUSE_GUEST_NEEDS_HOST_CURSOR); 80 80 } 81 Log FlowFunc(("mouse re-capturing support: result %Rrc\n", rc));81 LogRelFlowFunc(("mouse re-capturing support: result %Rrc\n", rc)); 82 82 return VINF_SUCCESS; 83 83 } … … 86 86 { 87 87 uint32_t fMouseFeatures = 0; 88 Log FlowFunc(("\n"));88 LogRelFlowFunc(("\n")); 89 89 VbglR3CtlFilterMask(0, VMMDEV_EVENT_DISPLAY_CHANGE_REQUEST 90 90 | VMMDEV_EVENT_MOUSE_CAPABILITIES_CHANGED); … … 93 93 VbglR3SetMouseStatus( fMouseFeatures 94 94 | VMMDEV_MOUSE_GUEST_NEEDS_HOST_CURSOR); 95 Log FlowFunc(("returning\n"));95 LogRelFlowFunc(("returning\n")); 96 96 } 97 97 … … 119 119 pConfig = XRRGetScreenInfo(pDisplay, DefaultRootWindow(pDisplay)); 120 120 /* Reset the current mode */ 121 Log FlowFunc(("Setting size %ux%u\n", cx, cy));121 LogRelFlowFunc(("Setting size %ux%u\n", cx, cy)); 122 122 if (pConfig) 123 123 { … … 130 130 unsigned uThisDist = VBCL_SQUARE(pSizes[i].width - cx) 131 131 + VBCL_SQUARE(pSizes[i].height - cy); 132 Log FlowFunc(("Found size %dx%d, distance %u\n", pSizes[i].width,132 LogRelFlowFunc(("Found size %dx%d, distance %u\n", pSizes[i].width, 133 133 pSizes[i].height, uThisDist)); 134 134 #undef VBCL_SQUARE … … 143 143 Time config_timestamp = 0; 144 144 XRRConfigTimes(pConfig, &config_timestamp); 145 Log FlowFunc(("Setting new size %d\n", iMode));145 LogRelFlowFunc(("Setting new size %d\n", iMode)); 146 146 XRRSetScreenConfig(pDisplay, pConfig, 147 147 DefaultRootWindow(pDisplay), iMode, … … 161 161 static int runDisplay(Display *pDisplay) 162 162 { 163 Log FlowFunc(("\n"));163 LogRelFlowFunc(("\n")); 164 164 Cursor hClockCursor = XCreateFontCursor(pDisplay, XC_watch); 165 165 Cursor hArrowCursor = XCreateFontCursor(pDisplay, XC_left_ptr); … … 199 199 } 200 200 } 201 Log FlowFunc(("returning VINF_SUCCESS\n"));201 LogRelFlowFunc(("returning VINF_SUCCESS\n")); 202 202 return VINF_SUCCESS; 203 203 }
Note:
See TracChangeset
for help on using the changeset viewer.