Skip to content

Formspec: Do not close on focus change#17179

Open
SmallJoker wants to merge 1 commit into
luanti-org:masterfrom
SmallJoker:pr_17179_no_remap_focus_change
Open

Formspec: Do not close on focus change#17179
SmallJoker wants to merge 1 commit into
luanti-org:masterfrom
SmallJoker:pr_17179_no_remap_focus_change

Conversation

@SmallJoker
Copy link
Copy Markdown
Member

Fixes most of #15955 (comment)

To do

This PR is Ready for Review.

How to test

  1. Open a formspec
  2. Focus another window
  3. Focus Luanti but click outside the formspec (by accident or routine)
  4. master: The formspec closes. PR: The formspec closes only after a second click.

Previously, the formspec would close if the game was focused (again)
by clicking outside the formspec area.
@SmallJoker SmallJoker added Trivial The change is a trivial bug fix, documentation or maintenance change, as per the Git Guidelines Formspec labels May 13, 2026
@Zughy Zughy added Bugfix 🐛 PRs that fix a bug Feature ✨ PRs that add or enhance a feature and removed Feature ✨ PRs that add or enhance a feature labels May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bugfix 🐛 PRs that fix a bug Formspec Trivial The change is a trivial bug fix, documentation or maintenance change, as per the Git Guidelines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants