This repository has been archived by the owner on Nov 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 341
Compositor cannot customize the wl_data_device.set_selection policy #1138
Labels
Comments
emersion
added a commit
to emersion/wlroots
that referenced
this issue
Nov 29, 2018
This makes compositors able to block and/or customize set_selection requests coming from clients. For instance, it's possible for a compositor to disable rich selection content (by removing all MIME types except text/plain). Two new events are added to wlr_seat: request_set_selection and request_set_primary_selection. Compositors need to listen to these events and either destroy the source or effectively set the selection. Fixes swaywm#1138 [1]: swaywm#1367 (comment)
emersion
added a commit
to emersion/wlroots
that referenced
this issue
Nov 29, 2018
This makes compositors able to block and/or customize set_selection requests coming from clients. For instance, it's possible for a compositor to disable rich selection content (by removing all MIME types except text/plain). This commit implements the design proposed in [1]. Two new events are added to wlr_seat: request_set_selection and request_set_primary_selection. Compositors need to listen to these events and either destroy the source or effectively set the selection. Fixes swaywm#1138 [1]: swaywm#1367 (comment)
emersion
added a commit
to emersion/wlroots
that referenced
this issue
Dec 2, 2018
This makes compositors able to block and/or customize set_selection requests coming from clients. For instance, it's possible for a compositor to disable rich selection content (by removing all MIME types except text/plain). This commit implements the design proposed in [1]. Two new events are added to wlr_seat: request_set_selection and request_set_primary_selection. Compositors need to listen to these events and either destroy the source or effectively set the selection. Fixes swaywm#1138 [1]: swaywm#1367 (comment)
emersion
added a commit
to emersion/wlroots
that referenced
this issue
Dec 3, 2018
This makes compositors able to block and/or customize set_selection requests coming from clients. For instance, it's possible for a compositor to disable rich selection content (by removing all MIME types except text/plain). This commit implements the design proposed in [1]. Two new events are added to wlr_seat: request_set_selection and request_set_primary_selection. Compositors need to listen to these events and either destroy the source or effectively set the selection. Fixes swaywm#1138 [1]: swaywm#1367 (comment)
emersion
added a commit
to emersion/wlroots
that referenced
this issue
Jan 21, 2019
This makes compositors able to block and/or customize set_selection requests coming from clients. For instance, it's possible for a compositor to disable rich selection content (by removing all MIME types except text/plain). This commit implements the design proposed in [1]. Two new events are added to wlr_seat: request_set_selection and request_set_primary_selection. Compositors need to listen to these events and either destroy the source or effectively set the selection. Fixes swaywm#1138 [1]: swaywm#1367 (comment)
emersion
added a commit
to emersion/wlroots
that referenced
this issue
Jan 21, 2019
This makes compositors able to block and/or customize set_selection requests coming from clients. For instance, it's possible for a compositor to disable rich selection content (by removing all MIME types except text/plain). This commit implements the design proposed in [1]. Two new events are added to wlr_seat: request_set_selection and request_set_primary_selection. Compositors need to listen to these events and either destroy the source or effectively set the selection. Fixes swaywm#1138 [1]: swaywm#1367 (comment)
emersion
added a commit
to emersion/wlroots
that referenced
this issue
Jan 21, 2019
This makes compositors able to block and/or customize set_selection requests coming from clients. For instance, it's possible for a compositor to disable rich selection content (by removing all MIME types except text/plain). This commit implements the design proposed in [1]. Two new events are added to wlr_seat: request_set_selection and request_set_primary_selection. Compositors need to listen to these events and either destroy the source or effectively set the selection. Fixes swaywm#1138 [1]: swaywm#1367 (comment)
emersion
added a commit
to emersion/wlroots
that referenced
this issue
Jan 22, 2019
This makes compositors able to block and/or customize set_selection requests coming from clients. For instance, it's possible for a compositor to disable rich selection content (by removing all MIME types except text/plain). This commit implements the design proposed in [1]. Two new events are added to wlr_seat: request_set_selection and request_set_primary_selection. Compositors need to listen to these events and either destroy the source or effectively set the selection. Fixes swaywm#1138 [1]: swaywm#1367 (comment)
emersion
added a commit
that referenced
this issue
Jan 24, 2019
This makes compositors able to block and/or customize set_selection requests coming from clients. For instance, it's possible for a compositor to disable rich selection content (by removing all MIME types except text/plain). This commit implements the design proposed in [1]. Two new events are added to wlr_seat: request_set_selection and request_set_primary_selection. Compositors need to listen to these events and either destroy the source or effectively set the selection. Fixes #1138 [1]: #1367 (comment)
ddevault
pushed a commit
to swaywm/rootston
that referenced
this issue
Aug 8, 2019
This makes compositors able to block and/or customize set_selection requests coming from clients. For instance, it's possible for a compositor to disable rich selection content (by removing all MIME types except text/plain). This commit implements the design proposed in [1]. Two new events are added to wlr_seat: request_set_selection and request_set_primary_selection. Compositors need to listen to these events and either destroy the source or effectively set the selection. Fixes swaywm/wlroots#1138 [1]: swaywm/wlroots#1367 (comment)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The handler directly calls
wlr_seat_set_selection
, without giving the compositor a chance to accept or reject the request.We should do something similar to
wl_pointer.set_cursor
which has arequest_set_cursor
event.Same applies to
start_drag
.The text was updated successfully, but these errors were encountered: