mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
Allow to unscale the output window with a Ctrl-Alt-u hotkey
Signed-off-by: malc <av1474@comtv.ru>
This commit is contained in:
parent
13f5545daa
commit
c4a735f9cb
2 changed files with 9 additions and 0 deletions
6
sdl.c
6
sdl.c
|
@ -569,6 +569,12 @@ static void sdl_refresh(DisplayState *ds)
|
|||
toggle_full_screen(ds);
|
||||
gui_keysym = 1;
|
||||
break;
|
||||
case 0x16: /* 'u' key on US keyboard */
|
||||
scaling_active = 0;
|
||||
sdl_resize(ds);
|
||||
vga_hw_invalidate();
|
||||
vga_hw_update();
|
||||
break;
|
||||
case 0x02 ... 0x0a: /* '1' to '9' keys */
|
||||
/* Reset the modifiers sent to the current console */
|
||||
reset_keys();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue