diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2012-07-08 07:27:32 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2012-07-08 07:27:32 +0000 |
commit | 63f5c38023439e23365b18581eb32f530c66a2d9 (patch) | |
tree | c0edcb2175cac3a4718b51870b3d07b98770a3b4 /session.c | |
parent | 67b926cf3c77737e3b40c9d70c38314ac19ba105 (diff) |
Clear flags across all sessions, from Thomas Adam.
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -353,7 +353,7 @@ session_next(struct session *s, int alert) winlink_stack_remove(&s->lastw, wl); winlink_stack_push(&s->lastw, s->curw); s->curw = wl; - wl->flags &= ~WINLINK_ALERTFLAGS; + winlink_clear_flags(wl); return (0); } @@ -390,7 +390,7 @@ session_previous(struct session *s, int alert) winlink_stack_remove(&s->lastw, wl); winlink_stack_push(&s->lastw, s->curw); s->curw = wl; - wl->flags &= ~WINLINK_ALERTFLAGS; + winlink_clear_flags(wl); return (0); } @@ -408,7 +408,7 @@ session_select(struct session *s, int idx) winlink_stack_remove(&s->lastw, wl); winlink_stack_push(&s->lastw, s->curw); s->curw = wl; - wl->flags &= ~WINLINK_ALERTFLAGS; + winlink_clear_flags(wl); return (0); } @@ -427,7 +427,7 @@ session_last(struct session *s) winlink_stack_remove(&s->lastw, wl); winlink_stack_push(&s->lastw, s->curw); s->curw = wl; - wl->flags &= ~WINLINK_ALERTFLAGS; + winlink_clear_flags(wl); return (0); } |