ymin = min(ui->dsy, ui->dey);
ymax = max(ui->dsy, ui->dey);
ymin = min(ui->dsy, ui->dey);
ymax = max(ui->dsy, ui->dey);
/*
* Left-dragging has no effect, so we treat a left-drag as a
* single click on dsx,dsy.
/*
* Left-dragging has no effect, so we treat a left-drag as a
* single click on dsx,dsy.
* Results of a simple click. Left button sets blanks to
* tents; right button sets blanks to non-tents; either
* button clears a non-blank square.
* Results of a simple click. Left button sets blanks to
* tents; right button sets blanks to non-tents; either
* button clears a non-blank square.