Changeset 6959 in vbox for trunk/src/VBox/Additions/x11
- Timestamp:
- Feb 14, 2008 3:42:32 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 28126
- Location:
- trunk/src/VBox/Additions/x11/xclient
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/xclient/seamless-host.cpp
r6897 r6959 36 36 if (mRunning) /* Assertion */ 37 37 { 38 LogRel(("VBox Service: seamless service started twice!\n"));38 LogRel(("VBoxClient: seamless service started twice!\n")); 39 39 return VERR_INTERNAL_ERROR; 40 40 } … … 42 42 if (RT_FAILURE(rc)) 43 43 { 44 LogRel(("VBox Service(seamless): failed to set the guest IRQ filter mask, rc=%Rrc\n", rc));44 LogRel(("VBoxClient (seamless): failed to set the guest IRQ filter mask, rc=%Rrc\n", rc)); 45 45 } 46 46 rc = VbglR3SeamlessSetCap(true); 47 47 if (RT_SUCCESS(rc)) 48 48 { 49 Log(("VBox Service: enabled seamless capability on host.\n"));49 Log(("VBoxClient: enabled seamless capability on host.\n")); 50 50 rc = mThread.start(); 51 51 if (RT_SUCCESS(rc)) … … 55 55 else 56 56 { 57 LogRel(("VBox Service: failed to start seamless event thread, rc=%Rrc. Disabled seamless capability on host again.\n", rc));57 LogRel(("VBoxClient: failed to start seamless event thread, rc=%Rrc. Disabled seamless capability on host again.\n", rc)); 58 58 VbglR3SeamlessSetCap(false); 59 59 } … … 61 61 if (RT_FAILURE(rc)) 62 62 { 63 Log(("VBox Service(seamless): failed to enable seamless capability on host, rc=%Rrc\n", rc));63 Log(("VBoxClient (seamless): failed to enable seamless capability on host, rc=%Rrc\n", rc)); 64 64 } 65 65 return rc; … … 71 71 if (!mRunning) /* Assertion */ 72 72 { 73 LogRel(("VBox Service: tried to stop seamless service which is not running!\n"));73 LogRel(("VBoxClient: tried to stop seamless service which is not running!\n")); 74 74 return; 75 75 } … … 98 98 making the guest desktop transparent. */ 99 99 #ifdef DEBUG 100 LogRelFunc(("VMMDev_Seamless_Visible_Region request received (VBox Service).\n"));100 LogRelFunc(("VMMDev_Seamless_Visible_Region request received (VBoxClient).\n")); 101 101 #endif 102 102 mState = ENABLE; … … 105 105 case VMMDev_Seamless_Host_Window: 106 106 /* One host window represents one guest window. Not yet implemented. */ 107 LogRelFunc(("Warning: VMMDev_Seamless_Host_Window request received (VBox Service).\n"));107 LogRelFunc(("Warning: VMMDev_Seamless_Host_Window request received (VBoxClient).\n")); 108 108 /* fall through to default */ 109 109 default: 110 LogRelFunc(("Warning: unsupported VMMDev_Seamless request %d received (VBox Service).\n", newMode));110 LogRelFunc(("Warning: unsupported VMMDev_Seamless request %d received (VBoxClient).\n", newMode)); 111 111 /* fall through to case VMMDev_Seamless_Disabled */ 112 112 case VMMDev_Seamless_Disabled: 113 113 #ifdef DEBUG 114 LogRelFunc(("VMMDev_Seamless_Disabled set (VBox Service).\n"));114 LogRelFunc(("VMMDev_Seamless_Disabled set (VBoxClient).\n")); 115 115 #endif 116 116 mState = DISABLE; … … 120 120 else 121 121 { 122 LogFunc(("VbglR3SeamlessWaitEvent returned %Rrc (VBox Service)\n", rc));122 LogFunc(("VbglR3SeamlessWaitEvent returned %Rrc (VBoxClient)\n", rc)); 123 123 } 124 124 return rc; -
trunk/src/VBox/Additions/x11/xclient/seamless-host.h
r6897 r6959 123 123 if (mObserver != 0) /* Assertion */ 124 124 { 125 LogRel(("VBox Service: ERROR: attempt to initialise seamless host object twice!\n"));125 LogRel(("VBoxClient: ERROR: attempt to initialise seamless host object twice!\n")); 126 126 return VERR_INTERNAL_ERROR; 127 127 } … … 151 151 152 152 VBoxGuestSeamlessHost(void) : mThreadFunction(this), 153 mThread(&mThreadFunction, 0, RTTHREADTYPE_M AIN_WORKER,153 mThread(&mThreadFunction, 0, RTTHREADTYPE_MSG_PUMP, 154 154 RTTHREADFLAGS_WAITABLE, "Host events") 155 155 { … … 163 163 if (mRunning) /* Assertion */ 164 164 { 165 LogRel(("VBox Service: seamless host object still running! Stopping...\n"));165 LogRel(("VBoxClient: seamless host object still running! Stopping...\n")); 166 166 try 167 167 { -
trunk/src/VBox/Additions/x11/xclient/seamless-x11.cpp
r6290 r6959 6 6 7 7 /* 8 * Copyright (C) 200 6-2007innotek GmbH8 * Copyright (C) 2008 innotek GmbH 9 9 * 10 10 * This file is part of VirtualBox Open Source Edition (OSE), as … … 72 72 if (0 != mObserver) /* Assertion */ 73 73 { 74 LogRel(("VBox Service: ERROR: attempt to initialise seamless guest object twice!\n"));74 LogRel(("VBoxClient: ERROR: attempt to initialise seamless guest object twice!\n")); 75 75 return VERR_INTERNAL_ERROR; 76 76 } 77 77 if (!mDisplay.init()) 78 78 { 79 LogRel(("VBox Service: seamless guest object failed to acquire a connection to the display.\n"));79 LogRel(("VBoxClient: seamless guest object failed to acquire a connection to the display.\n")); 80 80 return VERR_ACCESS_DENIED; 81 81 } … … 83 83 NET_CLIENT_LIST, &nItems).get()) 84 84 { 85 LogRel(("VBox Service: _NET_CLIENT_LIST property not supported by guest window manager. Seamless mode will not be enabled.\n"));85 LogRel(("VBoxClient: _NET_CLIENT_LIST property not supported by guest window manager. Seamless mode will not be enabled.\n")); 86 86 } 87 87 mObserver = pObserver; … … 167 167 if (!XGetWindowAttributes(mDisplay, hWin, &winAttrib)) 168 168 { 169 LogRelFunc(("VBox Service: Failed to get the window attributes for window %d\n", hWin));169 LogRelFunc(("VBoxClient: Failed to get the window attributes for window %d\n", hWin)); 170 170 return; 171 171 } -
trunk/src/VBox/Additions/x11/xclient/seamless.h
r6897 r6959 142 142 if (isInitialised) /* Assertion */ 143 143 { 144 LogRelFunc(("error: called a second time! (VBox Service)\n"));144 LogRelFunc(("error: called a second time! (VBoxClient)\n")); 145 145 rc = VERR_INTERNAL_ERROR; 146 146 } … … 163 163 if (RT_FAILURE(rc)) 164 164 { 165 LogFunc(("returning %Rrc (VBox Service)\n", rc));165 LogFunc(("returning %Rrc (VBoxClient)\n", rc)); 166 166 } 167 167 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.