Hi,
> typedef void QemuConsoleConfigListener(void);
I think we should also pass the console which has changed:
QemuConsoleConfigListener(QemuConsole *con);
> qemu_console_config_add_listener(QemuConsoleConfigListener listener);
> qemu_console_config_remove_listener(QemuConsoleConfigListener
Gerd Hoffmann, on Wed 26 Oct 2016 12:17:44 +0200, wrote:
> > +/* All consoles share the same window */
>
> No. That is the default setup, but try "View / Detach tab". Window ID
> changing at runtime ...
So we would need to make baum register for notification of Window ID
change.
It cou
> > Also splitting this up would be nice.
>
> You mean separating the move of the sdl1.2 code from the addition of
> sdl2+gtk code? (and perhaps separate sdl2 and gtk?)
One patch adding new console.[ch] interfaces, then one patch per UI,
finally switch over baum to the new interfaces.
Maybe put
Hello,
Gerd Hoffmann, on Wed 26 Oct 2016 12:17:44 +0200, wrote:
> On So, 2016-10-23 at 21:54 +0200, Samuel Thibault wrote:
> > This adds two console functions, qemu_console_set_window_id and
> > qemu_graphic_console_get_window_id, to let graphical backend record the
> > window id in the QemuConsol
On So, 2016-10-23 at 21:54 +0200, Samuel Thibault wrote:
> This adds two console functions, qemu_console_set_window_id and
> qemu_graphic_console_get_window_id, to let graphical backend record the
> window id in the QemuConsole structure, and let the baum driver read it.
>
> We can then move the S
This adds two console functions, qemu_console_set_window_id and
qemu_graphic_console_get_window_id, to let graphical backend record the
window id in the QemuConsole structure, and let the baum driver read it.
We can then move the SDL code from the baum driver to the sdl ui code,
and add SDL2 and G
This adds two console functions, qemu_console_set_window_id and
qemu_graphic_console_get_window_id, to let graphical backend record the
window id in the QemuConsole structure, and let the baum driver read it.
We can then move the SDL code from the baum driver to the sdl ui code,
and add SDL2 and G