mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
ui/console: Convert mouse visibility parameter into bool
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Tested-by: Phil Dennis-Jordan <phil@philjordan.eu> Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20240715-cursor-v3-2-afa5b9492dbf@daynix.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
parent
3f5ef05fe0
commit
a418e7aeea
10 changed files with 19 additions and 18 deletions
|
@ -49,7 +49,8 @@ typedef struct QemuGraphicConsole {
|
|||
uint32_t head;
|
||||
|
||||
QEMUCursor *cursor;
|
||||
int cursor_x, cursor_y, cursor_on;
|
||||
int cursor_x, cursor_y;
|
||||
bool cursor_on;
|
||||
} QemuGraphicConsole;
|
||||
|
||||
typedef QemuConsoleClass QemuGraphicConsoleClass;
|
||||
|
@ -957,7 +958,7 @@ void dpy_text_resize(QemuConsole *con, int w, int h)
|
|||
}
|
||||
}
|
||||
|
||||
void dpy_mouse_set(QemuConsole *c, int x, int y, int on)
|
||||
void dpy_mouse_set(QemuConsole *c, int x, int y, bool on)
|
||||
{
|
||||
QemuGraphicConsole *con = QEMU_GRAPHIC_CONSOLE(c);
|
||||
DisplayState *s = c->ds;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue