Gerd Hoffmann wrote: > On 09/09/09 21:51, Jan Kiszka wrote: >> Gerd Hoffmann wrote: >>> make the mux driver send mux_in and mux_out events when switching >>> focus while hooking up more handlers. >>> >>> stop using CharDriverState->focus in monitor.c, track state using >>> the mux events instead. This also removes the implicit assumtion >>> that a muxed monitor allways has mux channel 0. >> >> Nice patch in the right direction, but it comes with a regression: When >> you enable the monitor on mux'ed stdio via CTRL-A C, you don't get a >> prompt until pressing some key. > > Incremental fix attached. Works, perfect. > >> Please add braces at this chance. > > Will do. Fine. And please also reorder that "if (-1 != chr->focus)" :) Jan