Sascha Wessel
11facf8909
libuwac/window: Fix memory leak / SIGBUS
...
`UwacWindowShmAllocBuffers()` allocates memory with `mmap` and never frees it
resulting in SIGBUS errors and running out of memory after some time.
Adding a corresponding `munmap` fixes this issue.
2020-04-26 19:19:31 +02:00
Armin Novak
7c243da6e1
Remove symbols exported by accident.
2019-12-02 10:57:31 +01:00
Armin Novak
72ca88f49c
Reformatted to new style
2019-11-07 10:53:54 +01:00
Kenny Levinsen
3c18555693
uwac: Only submit dirty buffers
2019-07-30 09:46:57 +02:00
Kenny Levinsen
2548fd4aae
uwac: Make damage tracking more readable
2019-07-30 09:46:57 +02:00
Kenny Levinsen
49674d57f6
uwac: Re-enable damage tracking
2019-07-30 09:46:57 +02:00
Kenny Levinsen
4df57d915d
uwac: Do not unconditionally set pendingBuffer on configure
...
If pendingBuffer is set when it was otherwise NULL, then
UwacWindowSubmitBuffer will forever bail early, waiting for a frame
callback that will never come.
2019-07-30 09:46:57 +02:00
Kenny Levinsen
7dda8362e7
uwac: Acknowledge xdg_surface configure messages
...
This is necessary for the surface to have its role configured.
2019-07-30 09:46:57 +02:00
Armin Novak
1a46ef2a82
Fixed unused variable warnings.
2019-04-05 09:13:24 +02:00
Armin Novak
0d389d09a3
Fix 5243: Allocate buffers zero in uwac.
2019-02-11 11:54:19 +01:00
Armin Novak
b1e6e232ee
Fixed buffer submit and callback cleanup.
...
* Buffer submit now ignores duplicate buffer submit again.
* Frame callback is cleaned up in the callback function now.
* Damage region is currently ignored as there are screen artifacts otherwise.
2019-01-25 10:50:07 +01:00
Armin Novak
823411c2f3
Fixed wayland buffer updates
...
The wayland buffer size always matches the current window size.
That might be different from the actual remote framebuffer size,
to when copying always use the correct strides to avoid distorted
screen content.
2019-01-25 10:49:03 +01:00
David Fort
4c465e7f16
Merge pull request #5209 from akallabeth/wayland_protocol_update_and_keyboard_inhibit
...
Wayland protocol update and keyboard inhibit support
2019-01-23 10:02:07 +01:00
Armin Novak
9a0c8a5c53
Removed unused label.
2019-01-22 18:09:53 +01:00
Armin Novak
3cd3490fd1
Fixed initialization of window decorations.
2019-01-22 17:21:09 +01:00
Armin Novak
5c422b7c93
Added KDE server side window decoration interface as fallback.
2019-01-22 17:10:32 +01:00
Armin Novak
f2fd785128
Fixed comment.
2019-01-22 16:55:46 +01:00
Armin Novak
afd4baf4dd
Added wayland server side decorations.
2019-01-22 15:45:15 +01:00
Armin Novak
81f1fb934c
Implemented keyboard shortcut inhibit support.
2019-01-22 14:27:12 +01:00
Armin Novak
0ef64f8a84
Updated fullscreen shell to current protocol level.
2019-01-22 13:09:59 +01:00
Armin Novak
a5cee1751f
Resubmit buffer if necessary.
2019-01-18 14:39:14 +01:00
Ondrej Holy
24eb53e207
uwac: Fix leak found by covscan
...
leaked_storage: Variable "data" going out of scope leaks the storage it points to.
copy_paste_error: "opaque_region" in "w->opaque_region" looks like a copy-paste error.
2018-08-22 14:34:02 +02:00
Ondrej Holy
91c398dc94
uwac: Format code by astyle
...
Run ./scripts/format_code.sh before the following changes.
2018-08-22 14:34:02 +02:00
Olivier Blin
77d8aaf97b
Implement fullscreen for wayland shell surface
2017-07-05 18:47:52 +02:00
Armin Novak
ab733d76e5
Fixed NULL pointer dereferences.
2016-10-19 11:11:35 +02:00
Armin Novak
df35c135d1
Fixed color conversion, unified GFX and updated API.
2016-10-06 13:42:58 +02:00
David FORT
2b18d25731
Added some checks
2016-02-25 00:41:19 +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