Files
vim/runtime/doc
Foxe Chen 368710abcf patch 9.1.1784: Wayland code can be improved
Problem:  Wayland code can be improved
Solution: Refactor Wayland Clipboard code (Foxe Chen).

This the second attempt to refactor the Wayland code base:
- Move clipboard code from wayland.c to clipboard.c
- Use C99 bool type
- Properly poll the Wayland display file descriptor
- Instead of checking if the data source is not NULL in order to
  determine if a selection event comes from us, use a special mime type
  to identify selection events coming from ourselves. The problem with
  the previous approach is that race conditions may occur.
- Put the focus stealing code under a new feature "wayland_focus_steal"
- Use ELAPSED_* macros instead of gettimeofday()
- Pass tests
- Reimplement commented out code
- Update docs
- Make Wayland clipboard behaviour more in line with X11 when connection
  is lost
- add missing malloc checks and possible memory leaks + refactored some
  tests.

closes: #18324

Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2025-09-22 19:09:52 +00:00
..
2024-01-02 16:51:11 +01:00
2024-07-17 20:04:22 +02:00
2025-08-10 10:28:16 +02:00
2024-01-02 16:51:11 +01:00
2025-09-15 19:46:07 +00:00
2018-07-21 05:56:22 +02:00
2024-08-20 19:57:00 +02:00
2024-01-02 16:51:11 +01:00
2025-07-15 20:06:49 +02:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2021-06-27 15:18:56 +02:00
2022-02-26 12:25:45 +00:00
2025-08-10 10:28:16 +02:00
2025-08-10 10:28:16 +02:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2025-08-10 10:28:16 +02:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2020-05-26 21:20:45 +02:00
2025-08-10 10:28:16 +02:00
2025-08-10 10:28:16 +02:00
2025-08-10 10:28:16 +02:00
2024-01-02 16:51:11 +01:00
2025-08-10 10:28:16 +02:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2020-01-14 19:29:13 +01:00
2025-08-10 10:28:16 +02:00
2024-01-02 16:51:11 +01:00
2025-08-10 10:28:16 +02:00
2025-08-10 10:28:16 +02:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2025-07-15 20:06:49 +02:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-12-17 20:24:24 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2024-01-02 16:51:11 +01:00
2020-07-26 17:00:44 +02:00
2020-07-26 17:00:44 +02:00
2020-07-26 17:00:44 +02:00
2020-07-26 17:00:44 +02:00
2020-07-26 17:00:44 +02:00
2020-07-26 17:00:44 +02:00
2018-07-15 20:20:18 +02:00
2018-07-15 20:20:18 +02:00
2022-01-16 14:46:06 +00:00
2024-08-20 19:57:00 +02:00
2018-07-15 20:20:18 +02:00
2018-07-15 20:20:18 +02:00
2024-01-02 16:51:11 +01:00
2024-09-17 19:12:03 +02:00
2024-09-17 19:03:16 +02:00