-
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
data-control: Ignore our own offers via custom MIME type
Offer a custom MIME type (unique per wayvnc_client) when setting the selections of the Wayland clipboard which we can detect when processing incoming Wayland selections, and avoid unnecessarily echoing an incoming VNC client clipboard update back to the same VNC client. It would be useful if when a wlr_data_control_device sends set_selection, the selection event received could have an enum argument value describing that the wlr_data_control_offer in the id argument is associated with a wlr_data_control_source passed to set_selection by the same wlr_data_control_device. https://gitlab.freedesktop.org/wlroots/wlr-protocols/-/issues/111 swaywm/wlroots#2406
- Loading branch information
Showing
3 changed files
with
39 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters