Changeset 100063 in vbox
- Timestamp:
- Jun 3, 2023 5:42:36 PM (18 months ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/GuestHost/DisplayServerType.h
r99622 r100063 62 62 VBGHDISPLAYSERVERTYPE_X11, 63 63 /** Wayland. */ 64 VBGHDISPLAYSERVERTYPE_ WAYLAND,64 VBGHDISPLAYSERVERTYPE_PURE_WAYLAND, 65 65 /** XWayland; Wayland is running, but some (older) apps need X as a bridge as well. */ 66 66 VBGHDISPLAYSERVERTYPE_XWAYLAND -
trunk/src/VBox/Additions/x11/VBoxClient/clipboard.cpp
r99977 r100063 96 96 } 97 97 } 98 else if (VBClGetDisplayServerType() == VBGHDISPLAYSERVERTYPE_ WAYLAND)98 else if (VBClGetDisplayServerType() == VBGHDISPLAYSERVERTYPE_PURE_WAYLAND) 99 99 { 100 100 VBClLogError("Shared Clipboard for Wayland not supported yet!\n"); -
trunk/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp
r99620 r100063 581 581 } 582 582 583 if (VBClGetDisplayServerType() == VBGHDISPLAYSERVERTYPE_ WAYLAND)583 if (VBClGetDisplayServerType() == VBGHDISPLAYSERVERTYPE_PURE_WAYLAND) 584 584 { 585 585 rc = VbglR3DrmClientStart(); -
trunk/src/VBox/Additions/x11/VBoxClient/draganddrop.cpp
r99620 r100063 48 48 break; 49 49 50 case VBGHDISPLAYSERVERTYPE_ WAYLAND:50 case VBGHDISPLAYSERVERTYPE_PURE_WAYLAND: 51 51 RT_FALL_THROUGH(); 52 52 default: -
trunk/src/VBox/Additions/x11/VBoxClient/main.cpp
r99689 r100063 693 693 g_enmDisplayServerType = VBGHDISPLAYSERVERTYPE_X11; 694 694 else if (!RTStrICmp(ValueUnion.psz, "wayland")) 695 g_enmDisplayServerType = VBGHDISPLAYSERVERTYPE_ WAYLAND;695 g_enmDisplayServerType = VBGHDISPLAYSERVERTYPE_PURE_WAYLAND; 696 696 else if (!RTStrICmp(ValueUnion.psz, "none")) 697 697 g_enmDisplayServerType = VBGHDISPLAYSERVERTYPE_NONE; -
trunk/src/VBox/Additions/x11/VBoxClient/seamless.cpp
r99620 r100063 90 90 break; 91 91 92 case VBGHDISPLAYSERVERTYPE_ WAYLAND:92 case VBGHDISPLAYSERVERTYPE_PURE_WAYLAND: 93 93 RT_FALL_THROUGH(); 94 94 default: -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp
r100043 r100063 1961 1961 void UIMachineView::keyPressEvent(QKeyEvent *pEvent) 1962 1962 { 1963 if (uiCommon().displayServerType() == VBGHDISPLAYSERVERTYPE_ WAYLAND)1963 if (uiCommon().displayServerType() == VBGHDISPLAYSERVERTYPE_PURE_WAYLAND) 1964 1964 uimachine()->putScancode(pEvent->nativeScanCode() - 8); 1965 1965 QAbstractScrollArea::keyPressEvent(pEvent); … … 1968 1968 void UIMachineView::keyReleaseEvent(QKeyEvent *pEvent) 1969 1969 { 1970 if (uiCommon().displayServerType() == VBGHDISPLAYSERVERTYPE_ WAYLAND)1970 if (uiCommon().displayServerType() == VBGHDISPLAYSERVERTYPE_PURE_WAYLAND) 1971 1971 uimachine()->putScancode((pEvent->nativeScanCode() - 8) | 0x80); 1972 1972 QAbstractScrollArea::keyReleaseEvent(pEvent); -
trunk/src/VBox/GuestHost/DisplayServerType.cpp
r99697 r100063 56 56 RT_CASE_RET_STR(VBGHDISPLAYSERVERTYPE_AUTO); 57 57 RT_CASE_RET_STR(VBGHDISPLAYSERVERTYPE_X11); 58 RT_CASE_RET_STR(VBGHDISPLAYSERVERTYPE_ WAYLAND);58 RT_CASE_RET_STR(VBGHDISPLAYSERVERTYPE_PURE_WAYLAND); 59 59 RT_CASE_RET_STR(VBGHDISPLAYSERVERTYPE_XWAYLAND); 60 60 default: break; … … 193 193 retSessionType = VBGHDISPLAYSERVERTYPE_XWAYLAND; 194 194 else if (fHasWayland) 195 retSessionType = VBGHDISPLAYSERVERTYPE_ WAYLAND;195 retSessionType = VBGHDISPLAYSERVERTYPE_PURE_WAYLAND; 196 196 else if (fHasX) 197 197 retSessionType = VBGHDISPLAYSERVERTYPE_X11; … … 212 212 const char *const pWaylandDisplayType = RTEnvGet(VBGH_ENV_WAYLAND_DISPLAY); 213 213 if (pWaylandDisplayType != NULL) 214 waylandDisplayType = VBGHDISPLAYSERVERTYPE_ WAYLAND;214 waylandDisplayType = VBGHDISPLAYSERVERTYPE_PURE_WAYLAND; 215 215 216 216 LogRel2(("Wayland display type is: %s\n", VBGHDisplayServerTypeToStr(waylandDisplayType))); … … 221 221 { 222 222 if (RTStrIStartsWith(pSessionType, "wayland")) 223 xdgSessionType = VBGHDISPLAYSERVERTYPE_ WAYLAND;223 xdgSessionType = VBGHDISPLAYSERVERTYPE_PURE_WAYLAND; 224 224 else if (RTStrIStartsWith(pSessionType, "x11")) 225 225 xdgSessionType = VBGHDISPLAYSERVERTYPE_X11; … … 234 234 { 235 235 if (RTStrIStr(pszCurDesktop, "wayland")) 236 xdgCurrentDesktopType = VBGHDISPLAYSERVERTYPE_ WAYLAND;236 xdgCurrentDesktopType = VBGHDISPLAYSERVERTYPE_PURE_WAYLAND; 237 237 else if (RTStrIStr(pszCurDesktop, "x11")) 238 238 xdgCurrentDesktopType = VBGHDISPLAYSERVERTYPE_X11; … … 291 291 { 292 292 return enmType == VBGHDISPLAYSERVERTYPE_XWAYLAND 293 || enmType == VBGHDISPLAYSERVERTYPE_ WAYLAND;294 } 295 293 || enmType == VBGHDISPLAYSERVERTYPE_PURE_WAYLAND; 294 } 295
Note:
See TracChangeset
for help on using the changeset viewer.