VirtualBox

Changeset 99977 in vbox for trunk


Ignore:
Timestamp:
May 25, 2023 11:44:58 AM (16 months ago)
Author:
vboxsync
Message:

Guest Additions/VBoxClient: Also use the X clipboard implementation for XWayland desktop environments (at least for now). ​bugref:10427

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/clipboard.cpp

    r99620 r99977  
    8383    int rc = VINF_SUCCESS;
    8484
    85     if (VBClGetDisplayServerType() == VBGHDISPLAYSERVERTYPE_X11)
     85    if (   VBClGetDisplayServerType() == VBGHDISPLAYSERVERTYPE_X11
     86        /* If Wayland w/ X fallback support is installed (also called XWayland), prefer using the X clipboard for now. */
     87        || VBClGetDisplayServerType() == VBGHDISPLAYSERVERTYPE_XWAYLAND)
    8688    {
    8789        rc = VBClX11ClipboardInit();
     
    9496        }
    9597    }
    96 #if 0
    97     else (VBClGetSessionType() == GHDISPLAYSERVERTYPE_WAYLAND)
     98    else if (VBClGetDisplayServerType() == VBGHDISPLAYSERVERTYPE_WAYLAND)
    9899    {
    99 
     100        VBClLogError("Shared Clipboard for Wayland not supported yet!\n");
    100101    }
    101 #endif
    102102
    103103    if (RT_FAILURE(rc))
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