Sascha Wessel
ff618f53f7
libuwac/input: Fix memory leak
...
`create_pointer_buffer()` allocates memory with `mmap` and never frees it.
Adding a corresponding `munmap` fixes this issue.
2020-04-29 22:31:02 +02:00
akallabeth
56deba7562
Enforce coding style.
2020-04-09 13:49:10 +02:00
Julian Albrecht
7824f0cee9
Moves variable declaration to beginning of scope
2020-04-09 13:49:10 +02:00
Julian Christian Albrecht
3029e3b2cf
Check return value if already a listener is registered
2020-04-09 13:49:10 +02:00
Julian Albrecht
7ecce5acbe
Adds touch support to wlfreerdp
2020-03-27 14:16:18 +01:00
Armin Novak
72ca88f49c
Reformatted to new style
2019-11-07 10:53:54 +01:00
Armin Novak
d91d1edd0c
Fixed dead store warnings
2019-04-05 09:14:35 +02:00
Armin Novak
de69dd3942
Fixed sign-compare warnings
2019-04-05 09:13:24 +02:00
Armin Novak
b0ab577474
Moved wayland cursor handling to seat.
2019-02-13 09:02:15 +01:00
Armin Novak
0d389d09a3
Fix 5243: Allocate buffers zero in uwac.
2019-02-11 11:54:19 +01:00
Armin Novak
ce2f2012ae
Destroying released cursor buffers.
2019-02-08 15:22:06 +01:00
Armin Novak
db3bcffd03
Don't destroy wayland buffer attached to a surface.
2019-02-08 13:42:45 +01:00
Armin Novak
b3ffdbbde1
Fixed missing initializer.
2019-02-08 12:08:30 +01:00
Armin Novak
32d539b706
Removed debug messages.
2019-01-29 13:34:27 +01:00
Armin Novak
f64db12a2e
Fixed uninitialized value.
2019-01-29 11:07:44 +01:00
Armin Novak
2418c43cac
Fixed pointer image update.
2019-01-29 09:34:30 +01:00
Armin Novak
34adfd5714
Added UWAC_EVENT_OUTPUT_GEOMETRY event
2019-01-29 09:34:30 +01:00
Armin Novak
23fa6b9182
Added mouse cursor callback stubs.
2019-01-29 09:34:30 +01:00
David Fort
713e9cd5a7
uwac: fix initialization of data_device_manager
...
Depending on how global objects are announced (seats then ddm), we could fail to initialize
the data device manager of seats.
2019-01-24 10:34:16 +01:00
Armin Novak
0cba9edc99
Implemented UWAC clipboard handling.
2019-01-23 15:54:05 +01:00
Armin Novak
81f1fb934c
Implemented keyboard shortcut inhibit support.
2019-01-22 14:27:12 +01:00
David Fort
b9ceb13058
uwac: handle wl_seat with version >= 7
...
Starting at version 7, the wayland client is supposed to mmap the keymap as MAP_PRIVATE
to prevent accidental or intentional modifications.
2018-12-05 15:21:00 +01:00
David Fort
0b2ea08f74
uwac: change seat API to not reference disposed UwacSeat
...
This is a false positive returned by covscan, but that doesn't hurt to fix it.
2018-10-25 15:24:29 +02:00
Michael Meyer
c01442da2d
Fixes scrolling crash in wlfreerdp
...
An "axis discrete" handler is required since protocol version 5:
https://code.woboq.org/qt5/include/wayland-client-protocol.h.html
Crash output: "listener function for opcode 8 of wl_pointer is NULL"
2017-08-16 18:02:07 +00:00
Norbert Federa
f71b6b46e8
fix string format specifiers
...
- fixed invalid, missing or additional arguments
- removed all type casts from arguments
- added missing (void*) typecasts for %p arguments
- use inttypes defines where appropriate
2016-12-16 13:48:43 +01:00
David Fort
237451d167
Implement callbacks for version 5 of wl_pointer
...
This should prevent crash with compositor that implement this version.
2016-10-17 16:43:23 +02:00
David FORT
2b18d25731
Added some checks
2016-02-25 00:41:19 +01:00
David FORT
5dcb3dfe8b
Fix compilation and detection under debian/ubuntu
2016-02-23 14:09:53 +01:00
David FORT
87d6caa69a
Integrate UWAC in to the FreeRDP source tree
...
So the wayland client can still be built without installing UWAC as a dependency.
2016-02-23 14:09:53 +01:00