Skip to content

Consider better way to reject copies by other apps #3

Description

@logicmachine

Some applications (including VRChat) will not take ownership of the clipboard.
This behavior may prevent VRCSaveHelper from observing which process updates the clipboard accurately.

Currently, VRCSaveHelper uses the following conditions to assume that the copy is done by VRChat.

  • The owner of the clipboard is not specified (GetClipboardOwner() == NULL)
  • and VRChat is running (FindWindow("UnityWndClass", "VRChat") != NULL)

However, these conditions raise a false alarm when an application that will not take clipboard ownership copies some data while running VRChat in the background.

Replace it with more accurate way if it exists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions