Skip to content
  • Deucе's avatar
    e61a1aa6
    Use XDG_ENVIRONMENT_TYPE to switch to CLIPBOARD · e61a1aa6
    Deucе authored
    It appears that XDG_ENVIRONMENT_TYPE will always equal "wayland"
    when XWayland is in use, so when we see that, switch to CLIPBOARD
    instead of PRIMARY.  This should fix WSL and ChromeOS, and be
    irritating on GNOME, so it's a win all around.
    e61a1aa6
    Use XDG_ENVIRONMENT_TYPE to switch to CLIPBOARD
    Deucе authored
    It appears that XDG_ENVIRONMENT_TYPE will always equal "wayland"
    when XWayland is in use, so when we see that, switch to CLIPBOARD
    instead of PRIMARY.  This should fix WSL and ChromeOS, and be
    irritating on GNOME, so it's a win all around.
Loading