[clutter/clutter-1.14] x11/clutter-keymap-x11: Honor XkbNewKeyboardNotify events



commit 5c2931a2f0f7f3299843cd8e5c757137f50cc072
Author: Rui Matos <tiagomatos gmail com>
Date:   Fri Feb 22 00:31:34 2013 +0100

    x11/clutter-keymap-x11: Honor XkbNewKeyboardNotify events
    
    We already select for XkbNewKeyboardNotify events but are not acting
    on them. Start doing so.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=694267

 clutter/x11/clutter-keymap-x11.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/clutter/x11/clutter-keymap-x11.c b/clutter/x11/clutter-keymap-x11.c
index 4a1d578..e5de3ee 100644
--- a/clutter/x11/clutter-keymap-x11.c
+++ b/clutter/x11/clutter-keymap-x11.c
@@ -365,6 +365,7 @@ clutter_keymap_x11_translate_event (ClutterEventTranslator *translator,
           retval = CLUTTER_TRANSLATE_REMOVE;
           break;
 
+        case XkbNewKeyboardNotify:
         case XkbMapNotify:
           CLUTTER_NOTE (EVENT, "Updating keyboard mapping");
           XkbRefreshKeyboardMapping (&xkb_event->map);


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