relative_pointer: add relative-pointer example

On left mouse button click, locks the cursor and renders relative motion
events.
This commit is contained in:
random human 2018-10-03 10:46:24 +05:30 committed by Alex Maese
parent fb44ce9fa8
commit 42ffa413fb
2 changed files with 497 additions and 0 deletions

View file

@ -81,6 +81,10 @@ examples = {
'src': 'pointer-constraints.c',
'dep': [wayland_client, wlr_protos, wlroots],
},
'relative-pointer': {
'src': 'relative-pointer-unstable-v1.c',
'dep': [wayland_client, wlr_protos, wlroots],
},
'dmabuf-capture': {
'src': 'dmabuf-capture.c',
'dep': [