pnoutrefresh(wmeta->pad.curses_win, 0, wmeta->pad_offset, 0, 0, wmeta->pad.size.y, wmeta->pad.size.x-1); }
doupdate(); }
pnoutrefresh(wmeta->pad.curses_win, 0, wmeta->pad_offset, 0, 0, wmeta->pad.size.y, wmeta->pad.size.x-1); }
doupdate(); }
- if (0 != wmeta->active && width > 0 && height > 0 && height < wmeta->pad.size.y) {
- wmeta->active->frame.size.y = height;
- wmeta->active->frame.size.x = width;
+ if (0 != wmeta->active && size.x > 0 && size.y > 0 && size.y < wmeta->pad.size.y) {
+ wmeta->active->frame.size = size;
update_wins(wmeta, wmeta->chain_start); } }
extern void cycle_active_win (struct WinMeta * wmeta, char dir) {
update_wins(wmeta, wmeta->chain_start); } }
extern void cycle_active_win (struct WinMeta * wmeta, char dir) {
extern void reset_pad_offset(struct WinMeta * wmeta, uint16_t new_offset) {
// Apply new_offset to windows pad, if it proves to be sane.
extern void reset_pad_offset(struct WinMeta * wmeta, uint16_t new_offset) {
// Apply new_offset to windows pad, if it proves to be sane.