diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-04-13 16:08:37 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-04-13 16:08:37 +0000 |
commit | 3bee8bd013bf92f81f5826f75e72f48b6a017150 (patch) | |
tree | dbe4f60b18a22222c2beadafee12df07a7bbb044 /sdl.c | |
parent | a5b38b5171ea46e13612a3471a7cc735db6d6f72 (diff) |
SDL: Fix dead keys
(Samuel Thibault)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4208 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'sdl.c')
-rw-r--r-- | sdl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -352,6 +352,7 @@ static void sdl_refresh(DisplayState *ds) } vga_hw_update(); + SDL_EnableUNICODE(!is_graphic_console()); while (SDL_PollEvent(ev)) { switch (ev->type) { @@ -640,7 +641,6 @@ void sdl_display_init(DisplayState *ds, int full_screen, int no_frame) sdl_resize(ds, 640, 400); sdl_update_caption(); SDL_EnableKeyRepeat(250, 50); - SDL_EnableUNICODE(1); gui_grab = 0; sdl_cursor_hidden = SDL_CreateCursor(&data, &data, 8, 1, 0, 0); |