GTK: Make popup images account for display scaling by 64-bitman · Pull Request #20611 · vim/vim · GitHub
Skip to content

GTK: Make popup images account for display scaling#20611

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

GTK: Make popup images account for display scaling#20611
64-bitman wants to merge 1 commit into
vim:masterfrom
64-bitman:image_scale

Conversation

@64-bitman

Copy link
Copy Markdown
Contributor

Make popup images account for display scaling in GTK GUI. Unfortunately GTK2 does not seem to have a way to query the scale factor, so this PR does not work for it.

Additionally, clip images if they are bigger than the screen size. Before, if an image was bigger than the screen size, it would go outside the popup window bounds. This fix only applies for the GUI, images in terminal still have this issue, but that requires a more complex change.

@64-bitman

64-bitman commented Jun 23, 2026

Copy link
Copy Markdown
Contributor Author

@chrisbra

Copy link
Copy Markdown
Member

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