When using the "New" or "Resize" elements, wio crash when to cursor goes
to the left of the window's left border, or above the top border.
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 this 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(-)