I managed to make my window moveable by using
and this makes it nice and draggable. The only thing is, I need to recreate the window every time I change rooms (it's for my mapper). This resets the window position.
How do I keep it saved in memory? I'm not sure I really understand the documentation in the movewindow lua file.
winf = movewindow.install (win, miniwin.pos_center_right, 0)
movewindow.add_drag_handler (win, 0, 0, 300, 10, miniwin.cursor_both_arrow)
and this makes it nice and draggable. The only thing is, I need to recreate the window every time I change rooms (it's for my mapper). This resets the window position.
How do I keep it saved in memory? I'm not sure I really understand the documentation in the movewindow lua file.