Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Support resizing the input panel when using Wayland #105

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

awhiemstra
Copy link
Contributor

This relies on a new "configure" event that has been added to the
input-panel-surface-v1 protocol, which allows the compositor to request
a new size for the input panel. This is primarily intended to allow the
compositor to position the panel in such a way that it avoids things
like task managers.

This requires an upstream protocol change which is being handled in https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/146

It uses pkgconfig correctly and allows using things like
CMAKE_PREFIX_PATH to point at different installations.
This relies on a new "configure" event that has been added to the
input-panel-surface-v1 protocol, which allows the compositor to request
a new size for the input panel. This is primarily intended to allow the
compositor to position the panel in such a way that it avoids things
like task managers.
@davidedmundson
Copy link

In principle the changes look good.

This will break if used with version 1. isExposed will never become true.

@dobey dobey marked this pull request as draft April 26, 2022 19:17
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