Closed morgant closed 3 years ago
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.