Skip to content

sync: merge upstream foot - #11

Open
github-actions[bot] wants to merge 6 commits into
masterfrom
sync/upstream-2026-11-09
Open

github-actions[bot] wants to merge 6 commits into
masterfrom
sync/upstream-2026-11-09

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

Merges upstream/master (codeberg.org/dnkl/foot) at 152487e4 into master.

Check from AGENTS.md ("foot strings in fork-only C changes"):

None.

CI runs by workflow_dispatch on this branch. A PR opened by GITHUB_TOKEN does not start pull_request workflows.

CismonX and others added 6 commits October 14, 2026 22:00
Since libxkbcommon 1.6.0, xkb_keymap_new_from_buffer() allows a
NUL-terminated string as keymap text [1]. Also the keymap text cannot
have multiple trailing NULs according to the Wayland protocol spec.

This also avoids length mismatch for munmap(), which may leak resource
when 'size % sysconf(_SC_PAGESIZE) == 1'.

Also see the original patch [2] which reported this issue.

[1]: xkbcommon/libxkbcommon@b06aedb8ba
[2]: https://codeberg.org/dnkl/foot/pulls/2482
Absolute row numbers may wrap around, thus not suitable for comparison.
This may incorrectly update the selection direction and break word-wise
selection.

Compare scrollback-relative row numbers instead.

Fixes #2483.
The text input area should be visible when using input methods.

This also keeps the behavior consistent with the wl_keyboard.key
event handler.
…shutting down

In rare cases, xdg_output_handle_done() may be called while a terminal
is shutting down. This triggered a crash in
update_terms_for_monitor(), which de-references term->window (which is
NULL for terminals shutting down).

Closes #2487
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants