VirtualBox

Changeset 100063 in vbox


Ignore:
Timestamp:
Jun 3, 2023 5:42:36 PM (18 months ago)
Author:
vboxsync
Message:

Nit picking. Renaming VBGHDISPLAYSERVERTYPE_WAYLAND to VBGHDISPLAYSERVERTYPE_PURE_WAYLAND

Location:
trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/GuestHost/DisplayServerType.h

    r99622 r100063  
    6262    VBGHDISPLAYSERVERTYPE_X11,
    6363    /** Wayland. */
    64     VBGHDISPLAYSERVERTYPE_WAYLAND,
     64    VBGHDISPLAYSERVERTYPE_PURE_WAYLAND,
    6565    /** XWayland; Wayland is running, but some (older) apps need X as a bridge as well. */
    6666    VBGHDISPLAYSERVERTYPE_XWAYLAND
  • trunk/src/VBox/Additions/x11/VBoxClient/clipboard.cpp

    r99977 r100063  
    9696        }
    9797    }
    98     else if (VBClGetDisplayServerType() == VBGHDISPLAYSERVERTYPE_WAYLAND)
     98    else if (VBClGetDisplayServerType() == VBGHDISPLAYSERVERTYPE_PURE_WAYLAND)
    9999    {
    100100        VBClLogError("Shared Clipboard for Wayland not supported yet!\n");
  • trunk/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp

    r99620 r100063  
    581581    }
    582582
    583     if (VBClGetDisplayServerType() == VBGHDISPLAYSERVERTYPE_WAYLAND)
     583    if (VBClGetDisplayServerType() == VBGHDISPLAYSERVERTYPE_PURE_WAYLAND)
    584584    {
    585585        rc = VbglR3DrmClientStart();
  • trunk/src/VBox/Additions/x11/VBoxClient/draganddrop.cpp

    r99620 r100063  
    4848            break;
    4949
    50         case VBGHDISPLAYSERVERTYPE_WAYLAND:
     50        case VBGHDISPLAYSERVERTYPE_PURE_WAYLAND:
    5151            RT_FALL_THROUGH();
    5252        default:
  • trunk/src/VBox/Additions/x11/VBoxClient/main.cpp

    r99689 r100063  
    693693                    g_enmDisplayServerType = VBGHDISPLAYSERVERTYPE_X11;
    694694                else if (!RTStrICmp(ValueUnion.psz, "wayland"))
    695                     g_enmDisplayServerType = VBGHDISPLAYSERVERTYPE_WAYLAND;
     695                    g_enmDisplayServerType = VBGHDISPLAYSERVERTYPE_PURE_WAYLAND;
    696696                else if (!RTStrICmp(ValueUnion.psz, "none"))
    697697                    g_enmDisplayServerType = VBGHDISPLAYSERVERTYPE_NONE;
  • trunk/src/VBox/Additions/x11/VBoxClient/seamless.cpp

    r99620 r100063  
    9090            break;
    9191
    92         case VBGHDISPLAYSERVERTYPE_WAYLAND:
     92        case VBGHDISPLAYSERVERTYPE_PURE_WAYLAND:
    9393            RT_FALL_THROUGH();
    9494        default:
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp

    r100043 r100063  
    19611961void UIMachineView::keyPressEvent(QKeyEvent *pEvent)
    19621962{
    1963     if (uiCommon().displayServerType() == VBGHDISPLAYSERVERTYPE_WAYLAND)
     1963    if (uiCommon().displayServerType() == VBGHDISPLAYSERVERTYPE_PURE_WAYLAND)
    19641964        uimachine()->putScancode(pEvent->nativeScanCode() - 8);
    19651965    QAbstractScrollArea::keyPressEvent(pEvent);
     
    19681968void UIMachineView::keyReleaseEvent(QKeyEvent *pEvent)
    19691969{
    1970     if (uiCommon().displayServerType() == VBGHDISPLAYSERVERTYPE_WAYLAND)
     1970    if (uiCommon().displayServerType() == VBGHDISPLAYSERVERTYPE_PURE_WAYLAND)
    19711971        uimachine()->putScancode((pEvent->nativeScanCode() - 8) | 0x80);
    19721972    QAbstractScrollArea::keyReleaseEvent(pEvent);
  • trunk/src/VBox/GuestHost/DisplayServerType.cpp

    r99697 r100063  
    5656        RT_CASE_RET_STR(VBGHDISPLAYSERVERTYPE_AUTO);
    5757        RT_CASE_RET_STR(VBGHDISPLAYSERVERTYPE_X11);
    58         RT_CASE_RET_STR(VBGHDISPLAYSERVERTYPE_WAYLAND);
     58        RT_CASE_RET_STR(VBGHDISPLAYSERVERTYPE_PURE_WAYLAND);
    5959        RT_CASE_RET_STR(VBGHDISPLAYSERVERTYPE_XWAYLAND);
    6060        default: break;
     
    193193        retSessionType = VBGHDISPLAYSERVERTYPE_XWAYLAND;
    194194    else if (fHasWayland)
    195         retSessionType = VBGHDISPLAYSERVERTYPE_WAYLAND;
     195        retSessionType = VBGHDISPLAYSERVERTYPE_PURE_WAYLAND;
    196196    else if (fHasX)
    197197        retSessionType = VBGHDISPLAYSERVERTYPE_X11;
     
    212212    const char *const pWaylandDisplayType = RTEnvGet(VBGH_ENV_WAYLAND_DISPLAY);
    213213    if (pWaylandDisplayType != NULL)
    214         waylandDisplayType = VBGHDISPLAYSERVERTYPE_WAYLAND;
     214        waylandDisplayType = VBGHDISPLAYSERVERTYPE_PURE_WAYLAND;
    215215
    216216    LogRel2(("Wayland display type is: %s\n", VBGHDisplayServerTypeToStr(waylandDisplayType)));
     
    221221    {
    222222        if (RTStrIStartsWith(pSessionType, "wayland"))
    223             xdgSessionType = VBGHDISPLAYSERVERTYPE_WAYLAND;
     223            xdgSessionType = VBGHDISPLAYSERVERTYPE_PURE_WAYLAND;
    224224        else if (RTStrIStartsWith(pSessionType, "x11"))
    225225            xdgSessionType = VBGHDISPLAYSERVERTYPE_X11;
     
    234234    {
    235235        if (RTStrIStr(pszCurDesktop, "wayland"))
    236             xdgCurrentDesktopType = VBGHDISPLAYSERVERTYPE_WAYLAND;
     236            xdgCurrentDesktopType = VBGHDISPLAYSERVERTYPE_PURE_WAYLAND;
    237237        else if (RTStrIStr(pszCurDesktop, "x11"))
    238238            xdgCurrentDesktopType = VBGHDISPLAYSERVERTYPE_X11;
     
    291291{
    292292    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.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette