Expand description
Platform-owned observations for native input and exact buffer presentation. Missing protocol support returns false while still presenting the buffer.
Modules§
- clock
- The platform’s own clock readings, kept apart from relative
Instantoffsets. - keys
- The key an X11 or Wayland keysym names.
- text_
input - Optional original-field acknowledgements beside standard native IME delivery: no transcript, and no microphone or input ownership. A field’s purpose, its keyed fingerprint, its editing history’s status, and the receipts of edits a host defers to a field’s original owner are named here, so a toolkit and an engine share them.
Structs§
- Damage
Rect - An outward-rounded rectangle in framebuffer pixels.
Enums§
Functions§
- crops_
frames - Whether a frame
presentshows may fill only the top-left corner of a larger buffer: the window shows the frame’s own pixels, so its swapchain can outlast a change of size. - desktop_
draws_ frame - What the desktop said about the window’s frame:
Some(true)where it draws it (KDE, X11 window managers),Some(false)where it asks the app to (GNOME on Wayland),Noneuntil it says or where desktops always draw it. - device_
numbers - The (major, minor) of the device node at
path, as the filesystem reports it;Nonewhere the path is no device node. - key_
stamp - present
- Present a frame of
sizepixels thatpresentcommits, at the size it was drawn for, and report its presentation toobserverwhen one is given. Returns whether it is observed. The window’s next redraw waits for this frame’s callback: frames are paced by the display, whichever thread commits them. - supported