mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-12 14:30:42 -08:00
Fix a hang on servers that don't support the X Keyboard Extension
* src/xfns.c (Fx_backspace_delete_keys_p): Don't block input before checking for Xkb.
This commit is contained in:
parent
7d672ed069
commit
fb386e22e1
1 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue