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

Revisit the window size/position API #1721

Open
jneem opened this issue Apr 16, 2021 · 0 comments
Open

Revisit the window size/position API #1721

jneem opened this issue Apr 16, 2021 · 0 comments
Labels
architecture changes the architecture, usually breaking

Comments

@jneem
Copy link
Collaborator

jneem commented Apr 16, 2021

We currently have a pretty low-level API for positioning windows. It uses coordinates of a virtual screen that contains all the monitors, and (as of [#1713]) positions windows using display points on that virtual screen.

In that discussion, @cmyr suggested that it might be nicer to have coordinates that specify monitor + offset. (For example, because macOS might not allow windows to span multiple monitors, and also because different monitors might want to have different scale factors.)

Also, note that wayland doesn't allow absolute positioning at all, and so we might want an API for positioning subwindows relative to other windows.

Finally, when the default positioning of (e.g.) dropdowns would have them go outside the screen, we might want a better API for specifying how they should be positioned.

@xStrom xStrom added the architecture changes the architecture, usually breaking label Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architecture changes the architecture, usually breaking
Projects
None yet
Development

No branches or pull requests

2 participants