Skip to content

configure clips coordinates? #277

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

Open
gvb1234 opened this issue Oct 9, 2024 · 0 comments
Open

configure clips coordinates? #277

gvb1234 opened this issue Oct 9, 2024 · 0 comments

Comments

@gvb1234
Copy link

gvb1234 commented Oct 9, 2024

I found some odd behaviour moving windows with window.configure.

I am trying to move a window to some new_x coordinate, with new_x less than screen width, but new_x+window.width more than screen width (so some right part of the window should be off screen after the move).

If part of the window is already off screen (but not at x=new_x) when I do window.configure(x=new_x,...), this works as intended: window gets moved to x=new_x and is still partially hidden.

If the whole window is visible on screen, window.configure(x=new_x,...) only moves the window so that its right edge is on the right side of the screen, so the whole window is still visible on screen, and not partially hidden. In particular, window.x is not the intended new_x.

This is in contrast to, say, moving the window with wmctrl. Any idea?

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