mirror of
https://github.com/lbonn/rofi
synced 2024-11-23 20:33:03 +00:00
Revert "xcb: Add XKB_NEW_KEYBOARD_NOTIFY support"
This reverts commit e9532f584f
.
It should not matter for rofi, which is not meant to stay around long,
and it messes with XTST (that tools like xscape use).
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
parent
43127f83d0
commit
5c5665efca
1 changed files with 0 additions and 7 deletions
|
@ -845,13 +845,6 @@ static gboolean main_loop_x11_event_handler ( xcb_generic_event_t *ev, G_GNUC_UN
|
|||
if ( type == xcb->xkb.first_event ) {
|
||||
switch ( ev->pad0 )
|
||||
{
|
||||
case XCB_XKB_NEW_KEYBOARD_NOTIFY:
|
||||
{
|
||||
xcb_xkb_new_keyboard_notify_event_t *knkne = (xcb_xkb_new_keyboard_notify_event_t *) ev;
|
||||
if ( ! ( knkne->changed & XCB_XKB_NKN_DETAIL_KEYCODES ) )
|
||||
break;
|
||||
}
|
||||
/* fallthrough */
|
||||
case XCB_XKB_MAP_NOTIFY:
|
||||
{
|
||||
struct xkb_keymap *keymap = xkb_x11_keymap_new_from_device ( nk_bindings_seat_get_context ( xcb->bindings_seat ), xcb->connection, xcb->xkb.device_id, 0 );
|
||||
|
|
Loading…
Reference in a new issue