Skip to contentSkip to conversation

[4208] SDL: Fix dead keys

Qemu-devel Aurelien Jarno 1 participant 1 message Apr 13, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 4208

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4208
Author:   aurel32
Date:     2008-04-13 16:08:37 +0000 (Sun, 13 Apr 2008)

Log Message:
-----------
SDL: Fix dead keys

(Samuel Thibault)

Modified Paths:
--------------
trunk/sdl.c

Modified: trunk/sdl.c
===================================================================

sdl.c +1 -1
@@ -352,6 +352,7 @@
     }
 
     vga_hw_update();
+    SDL_EnableUNICODE(!is_graphic_console());
 
     while (SDL_PollEvent(ev)) {
         switch (ev->type) {
@@ -640,7 +641,6 @@
     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);