mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
console: rename vga_hw_*, add QemuConsole param
Add QemuConsole parameter to vga_hw_*, so the interface allows to update non-active consoles (the actual code can't handle this yet, see next patch). Passing NULL is allowed and updates the active console, like the functions do today. While touching all vga_hw_* calls anyway rename that to the functions to hardware-neutral graphics_hw_* Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
64840c66b7
commit
1dbfa00503
11 changed files with 67 additions and 56 deletions
2
ui/gtk.c
2
ui/gtk.c
|
@ -327,7 +327,7 @@ static void gd_update(DisplayChangeListener *dcl,
|
|||
|
||||
static void gd_refresh(DisplayChangeListener *dcl)
|
||||
{
|
||||
vga_hw_update();
|
||||
graphic_hw_update(NULL);
|
||||
}
|
||||
|
||||
static void gd_switch(DisplayChangeListener *dcl,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue