NamesNotify should never come; moved under MapNotify

This commit is contained in:
Peter Junos 2015-05-27 02:08:34 +02:00
parent f50ed9a1e8
commit 835c13bd80
1 changed files with 0 additions and 4 deletions

4
xkb.c
View File

@ -210,10 +210,6 @@ event_handle_xkb_notify(xcb_generic_event_t* event)
case XCB_XKB_MAP_NOTIFY: case XCB_XKB_MAP_NOTIFY:
{ {
xkb_reload_keymap(); xkb_reload_keymap();
break;
}
case XCB_XKB_NAMES_NOTIFY:
{
signal_object_emit(L, &global_signals, "xkb::map_changed", 0); signal_object_emit(L, &global_signals, "xkb::map_changed", 0);
break; break;
} }