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

xdg_positioner constraint adjustment #52

Open
ehopperdietzel opened this issue Jun 28, 2024 · 1 comment
Open

xdg_positioner constraint adjustment #52

ehopperdietzel opened this issue Jun 28, 2024 · 1 comment

Comments

@ehopperdietzel
Copy link

Hi again,

I noticed that no xdg_positioner constraint adjustment flags are used. This prevents compositors from properly repositioning popups, for example, when they end up outside of the screen boundaries.

I understand that enabling some flags could make it challenging to handle configure events or calculate other positioner parameters. However, adding slide_x and slide_y should be enough and it shouldn't require any additional changes, though I'm not sure, maybe that could mess up your internal X coordinate system.

@ehopperdietzel
Copy link
Author

XDG Positioner rules initially seemed very complex to me. Here is an explanation with graphical examples if you're interested. By the way, all compositors implementing Xwayland seem to add at least the flip and slide flags, I'm not sure about the resize flag.

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

No branches or pull requests

1 participant