| 468 | #endif /* RESIZABLE */ |
| 469 | |
| 470 | static void |
| 471 | newclipping(coordxy x, coordxy y) |
| 472 | { |
| 473 | #ifdef CLIPPING |
| 474 | if (CO < COLNO || LI < 1 + ROWNO + iflags.wc2_statuslines) { |
| 475 | setclipped(); /* sets clipping=TRUE */ |
| 476 | if (x) |
| 477 | tty_cliparound(x, y); |
| 478 | } else { |
| 479 | clipping = FALSE; |
| 480 | clipx = clipy = 0; |
| 481 | } |
| 482 | #else |
| 483 | nhUse(x + y); |
| 484 | #endif |
| 485 | return; |
| 486 | } |
| 487 | |
| 488 | /* destroy and recreate status window; extracted from winch_handler() |
| 489 | and augmented for use by tty_preference_update() */ |
no test coverage detected