When using the "New" or "Resize" elements, wio crash then the cursor
goes to the left of the window, or above it.
This patch takes the
absolute value of the X and Y distance between the top-left corner of
the window and the cursor to draw the new area, thus preventing crashes
when going the "negative way" with the cursor.
Willy Goiffon (1):
Handle new/resize with negative cursor coordinates
output.c | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
--
2.26.2