diff options
| author | Berke Güzel <wenekar1@gmail.com> | 2026-10-12 13:00:53 +0300 |
|---|---|---|
| committer | Berke Güzel <wenekar1@gmail.com> | 2026-10-12 13:00:53 +0300 |
| commit | b20263cf9b6d85c7e5919497b5d36b4c81463b15 (patch) | |
| tree | d46d216fdde20dc36023a9b5ef285e8ba4bf69fd /src/wayland/protocols/tablet-v2-protocol.c | |
| parent | 2984d50b78e57c35c068136ca9e65416f193d21f (diff) | |
feat: implement X11 and Cocoa drop-targets, popups, and selection gaps
Resolve gaps identified in yasl-gaps-report.md:
- X11:
- Add XDND v5 file drop support and text/uri-list parsing (YASL_INPUT_DROP_FILES)
- Dispatch surface drop-target events (YASL_DRAG_OVER, YASL_DRAG_LEAVE, YASL_DRAG_DROP, YASL_DROP_OVER, YASL_DROP_LEAVE)
- Implement override-redirect popups (surface_create_popup, surface_popup_reposition)
- Support drag images with override-redirect icon window
- Set YASL_CAP_POPUPS capability
- Handle XIHierarchyChanged reset cleanly
- Cocoa:
- Dispatch surface drop-target events for internal drags and external NSDraggingDestination
- Implement child window popups (cocoa_surface_create_popup, cocoa_surface_popup_reposition)
- Implement primary selection via dedicated pasteboard
- Support drag images with floating borderless NSWindow
- Track pointer buttons and push YASL_INPUT_RESET on focus loss
- Set YASL_CAP_POPUPS and YASL_CAP_PRIMARY_SELECTION capabilities
- Tests:
- Add comprehensive unit test suite in tests/x11/test_tablet.c
Diffstat (limited to 'src/wayland/protocols/tablet-v2-protocol.c')
0 files changed, 0 insertions, 0 deletions
