version 1.281, 2019/05/07 20:01:41 |
version 1.282, 2019/05/08 18:07:12 |
|
|
{ |
{ |
struct timeval tv; |
struct timeval tv; |
|
|
|
if (c->overlay_draw != NULL) |
|
server_client_clear_overlay(c); |
|
|
tv.tv_sec = delay / 1000; |
tv.tv_sec = delay / 1000; |
tv.tv_usec = (delay % 1000) * 1000L; |
tv.tv_usec = (delay % 1000) * 1000L; |
|
|
|
|
|
|
if (c->flags & (CLIENT_CONTROL|CLIENT_SUSPENDED)) |
if (c->flags & (CLIENT_CONTROL|CLIENT_SUSPENDED)) |
return; |
return; |
|
if (c->overlay_draw != NULL) |
|
return; |
mode = s->mode; |
mode = s->mode; |
|
|
tty_region_off(&c->tty); |
tty_region_off(&c->tty); |
|
|
if (c->flags & (CLIENT_CONTROL|CLIENT_SUSPENDED)) |
if (c->flags & (CLIENT_CONTROL|CLIENT_SUSPENDED)) |
return; |
return; |
if (c->flags & CLIENT_ALLREDRAWFLAGS) { |
if (c->flags & CLIENT_ALLREDRAWFLAGS) { |
log_debug("%s: redraw%s%s%s", c->name, |
log_debug("%s: redraw%s%s%s%s", c->name, |
(c->flags & CLIENT_REDRAWWINDOW) ? " window" : "", |
(c->flags & CLIENT_REDRAWWINDOW) ? " window" : "", |
(c->flags & CLIENT_REDRAWSTATUS) ? " status" : "", |
(c->flags & CLIENT_REDRAWSTATUS) ? " status" : "", |
(c->flags & CLIENT_REDRAWBORDERS) ? " borders" : ""); |
(c->flags & CLIENT_REDRAWBORDERS) ? " borders" : "", |
|
(c->flags & CLIENT_REDRAWOVERLAY) ? " overlay" : ""); |
} |
} |
|
|
/* |
/* |
|
|
|
|
if (c->flags & CLIENT_CONTROL) |
if (c->flags & CLIENT_CONTROL) |
break; |
break; |
|
server_client_clear_overlay(c); |
tty_resize(&c->tty); |
tty_resize(&c->tty); |
recalculate_sizes(); |
recalculate_sizes(); |
server_redraw_client(c); |
server_redraw_client(c); |