src/video/x11/SDL_x11events.c
changeset 9898 0da384bef562
parent 9845 41ce18cb4b3b
child 9973 4d8a561cf978
equal deleted inserted replaced
9897:b9b4c1bbb778 9898:0da384bef562
   623             if ((request == MappingKeyboard) || (request == MappingModifier)) {
   623             if ((request == MappingKeyboard) || (request == MappingModifier)) {
   624                 X11_XRefreshKeyboardMapping(&xevent.xmapping);
   624                 X11_XRefreshKeyboardMapping(&xevent.xmapping);
   625             }
   625             }
   626 
   626 
   627             X11_UpdateKeymap(_this);
   627             X11_UpdateKeymap(_this);
       
   628             SDL_SendKeymapChangedEvent();
   628         }
   629         }
   629         return;
   630         return;
   630     }
   631     }
   631 
   632 
   632     switch (xevent.type) {
   633     switch (xevent.type) {
  1141                    changing from English to French on the menubar's keyboard
  1142                    changing from English to French on the menubar's keyboard
  1142                    icon). Since it changes the XKLAVIER_STATE property, we
  1143                    icon). Since it changes the XKLAVIER_STATE property, we
  1143                    notice and reinit our keymap here. This might not be the
  1144                    notice and reinit our keymap here. This might not be the
  1144                    right approach, but it seems to work. */
  1145                    right approach, but it seems to work. */
  1145                 X11_UpdateKeymap(_this);
  1146                 X11_UpdateKeymap(_this);
       
  1147                 SDL_SendKeymapChangedEvent();
  1146             }
  1148             }
  1147         }
  1149         }
  1148         break;
  1150         break;
  1149 
  1151 
  1150     /* Copy the selection from our own CUTBUFFER to the requested property */
  1152     /* Copy the selection from our own CUTBUFFER to the requested property */