[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#381979: keymap not changed in g-i after selection in kbd-chooser



On Tue, Sep 19, 2006 at 10:04:47AM +0200, Frans Pop wrote:
> On Monday 18 September 2006 23:45, Attilio Fiandrotti wrote:
> > I did not test this by myself, but davide did it and the patch proved
> > to work (Davide, any hint about how to reproduce a correct keymap
> > change in the g-i ?).
> 
> Davide?

this was discussed tonight on IRC.

GDK_WINDOWING_DIRECTFB is apparently not defined inside gtk.c
the following patch works for me

ciao
Davide


zino@slurpy:~/cdebconf/106$ cat keymap.patch
Index: src/modules/frontend/gtk/gtk.c
===================================================================
--- src/modules/frontend/gtk/gtk.c      (revision 40820)
+++ src/modules/frontend/gtk/gtk.c      (working copy)
@@ -49,9 +49,7 @@
 #include <debian-installer/slist.h>
 #include <gdk/gdkkeysyms.h>
 
-#ifdef GDK_WINDOWING_DIRECTFB
 #include <directfb.h>
-#endif
 
 #define WINDOW_WIDTH 800
 #define WINDOW_HEIGHT 600
@@ -1543,9 +1541,7 @@
      * for dfb to support automatic keymap change detection and reloading
      * (See also bug #381979)
      */
-    #ifdef GDK_WINDOWING_DIRECTFB
     dfb_input_device_reload_keymap( dfb_input_device_at( DIDID_KEYBOARD ) );
-    #endif
 
     gtk_rc_reparse_all();

Attachment: signature.asc
Description: Digital signature


Reply to: