Skip to content

GTK4: Do not change focus for drawarea, only window#20415

Open
64-bitman wants to merge 1 commit into
vim:masterfrom
64-bitman:gtk4_focus_fix
Open

GTK4: Do not change focus for drawarea, only window#20415
64-bitman wants to merge 1 commit into
vim:masterfrom
64-bitman:gtk4_focus_fix

Conversation

@64-bitman
Copy link
Copy Markdown
Contributor

Currently, if the drawarea loses focus in any matter, the cursor is turned into an outline. This causes weird behaviours such the cursor flashing an outline shape when a GUI popup menu appears, due to focus being taken then restored to the drawing area. The GTK3 GUI does not have this problem, as it looks like it only makes the cursor an outline when the window loses focus, not the drawing area. This makes the GTK4 GUI behave more in line with the GTK3 GUI, only changing focus when the window focus changes, not the drawing area.

This pretty much reverts f1ed841

@h-east h-east changed the title Do not change focus for drawarea, only window GTK4: Do not change focus for drawarea, only window Jun 3, 2026
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.

1 participant