Skip to content

Don't let keystrokes fall through to window if the text field in the layer view has focus - #709

Merged
humdingerb merged 1 commit into
HaikuArchives:masterfrom
dsizzle:576-shift-focus
Oct 22, 2026
Merged

humdingerb merged 1 commit into
HaikuArchives:masterfrom
dsizzle:576-shift-focus

Conversation

@dsizzle

@dsizzle dsizzle commented Oct 21, 2026

Copy link
Copy Markdown
Collaborator

Mainly for modifier keys, such as Shift etc., the previous code forwarded those to the main window. Now if the layer view text field has focus it doesn't forward those. Because of this, I also had to make it so that clicking elsewhere on the layer in the window, it removes focus from the text field.

Fixes #576

…e layer view has focus

- if the user clicks elsewhere on the layerview, remove focus from the text field

Fixes HaikuArchives#576
@humdingerb

Copy link
Copy Markdown
Member

Good change!

@humdingerb
humdingerb merged commit 7feb9bb into HaikuArchives:master Oct 22, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Layers window shifts focus to main window on SHIFT when renaming layer

2 participants