Crafter.Graphics/lib
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf 678f38964f
feat(wayland): text input through zwp_text_input_v3
A window can now say that a text field has the focus and where its caret
is — Window::SetTextInput(active, caret rectangle in physical pixels,
purpose) — which is what opens the on-screen keyboard on a phone (Maliit
under KWin, squeekboard under phoc). What the input method produces comes
back as events: committed text as onTextInput, the composing text as
onPreedit (empty clears it), deletions around the cursor as
onTextInputDelete; done() applies them in the protocol's order. The state
a window wants is remembered and sent again whenever the keyboard focus
returns to it. The protocol's client code is generated with wayland-scanner
1.26.0 from wayland-protocols' text-input-unstable-v3.xml, under lib/ like
the others.
2026-10-18 01:57:09 +02:00
..
fractional-scale-v1.c scaling 2025-12-29 18:56:06 +01:00
fractional-scale-v1.h scaling 2025-12-29 18:56:06 +01:00
stb_image.h semi working wayland 2025-11-17 00:44:45 +01:00
stb_image_write.h new UI system 2026-05-01 23:35:37 +02:00
stb_truetype.h semi working wayland 2025-11-17 00:44:45 +01:00
text-input-unstable-v3-client-protocol.h feat(wayland): text input through zwp_text_input_v3 2026-10-18 01:57:09 +02:00
text-input-unstable-v3-protocol.c feat(wayland): text input through zwp_text_input_v3 2026-10-18 01:57:09 +02:00
viewporter.c scaling 2025-12-29 18:56:06 +01:00
viewporter.h scaling 2025-12-29 18:56:06 +01:00
wayland-xdg-decoration-unstable-v1-client-protocol.c documentation 2025-06-13 23:59:36 +02:00
wayland-xdg-decoration-unstable-v1-client-protocol.h documentation 2025-06-13 23:59:36 +02:00
xdg-shell-client-protocol.h documentation 2025-06-13 23:59:36 +02:00
xdg-shell-protocol.c documentation 2025-06-13 23:59:36 +02:00