diff --git a/src/xfns.c b/src/xfns.c index ae01bb04053..7c4e6943203 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -7749,11 +7749,11 @@ present and mapped to the usual X keysyms. */) Display *dpy = FRAME_X_DISPLAY (f); Lisp_Object have_keys; - block_input (); - if (!FRAME_DISPLAY_INFO (f)->supports_xkb) return Qlambda; + block_input (); + /* In this code we check that the keyboard has physical keys with names that start with BKSP (Backspace) and DELE (Delete), and that they generate keysym XK_BackSpace and XK_Delete respectively.