You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: