mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-13 04:27:56 -05:00
selection: allows using a wrapper source to filter data
1. Added support for intercepting clipboard selection operations. 2. Wraps data sources to control data provision based on client PID. 3. Added wlr_data_receiver to data source's send to identify the recipient. 4. Includes new example "clipboard-control.c" to illustrate clipboard permission management. 5. Added PID and client members to data source and receiver for access control.
This commit is contained in:
parent
1f0fb95e3b
commit
6745b7bd49
18 changed files with 2723 additions and 108 deletions
1996
examples/clipboard-control.c
Normal file
1996
examples/clipboard-control.c
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -47,6 +47,11 @@ compositors = {
|
|||
],
|
||||
'dep': [wayland_client, wayland_egl, egl, glesv2],
|
||||
},
|
||||
'clipboard-control': {
|
||||
'src': 'clipboard-control.c',
|
||||
'dep': [cairo],
|
||||
'proto': ['xdg-shell'],
|
||||
},
|
||||
}
|
||||
|
||||
foreach name, info : compositors
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue