aboutsummaryrefslogtreecommitdiff
path: root/chardev/char-mux.c
diff options
context:
space:
mode:
Diffstat (limited to 'chardev/char-mux.c')
-rw-r--r--chardev/char-mux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/chardev/char-mux.c b/chardev/char-mux.c
index 1b925c8..6055e76 100644
--- a/chardev/char-mux.c
+++ b/chardev/char-mux.c
@@ -304,6 +304,7 @@ void mux_set_focus(Chardev *chr, int focus)
}
d->focus = focus;
+ chr->be = d->backends[focus];
mux_chr_send_event(d, d->focus, CHR_EVENT_MUX_IN);
}