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
When using xdotool under OpenBSD 6.9, xdotool's windowsize command works to resize windows, but windowmove does not result in a window being moved. If I switch to fvwm, both windowsize & windowmove work correctly.
The text was updated successfully, but these errors were encountered:
morgant
changed the title
xdotool can'
xdotool can't move windows
Aug 21, 2021
It seems that the code in event.c's handle_configure_request() which would set tmp_win->frame_x & tmp_win->frame_y is commented out. Uncommenting it results in xdotool being able to successfully move MLVWM windows using its windowmove command.
It seems to prevent the window from being placed off the left or top of the screen, so I don't know if it needs to be smarter or not.
With that code block uncommented, I did end up removing the constraint preventing windows from being moved off screen to the left, but kept the constraint preventing them from being moved above the menu bar. I also cleaned up the code a little bit to not modify tmp_win frame values before passing to SetUpFrame(), which reduced the number of variables needed, as well.
When using
xdotool
under OpenBSD 6.9,xdotool
'swindowsize
command works to resize windows, butwindowmove
does not result in a window being moved. If I switch tofvwm
, bothwindowsize
&windowmove
work correctly.The text was updated successfully, but these errors were encountered: