We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 362c9aa + 4c1535e commit fc4d0d1Copy full SHA for fc4d0d1
src/pgtkterm.c
@@ -4302,6 +4302,8 @@ pgtk_delete_terminal (struct terminal *terminal)
4302
dpyinfo->gdpy = NULL;
4303
}
4304
4305
+ delete_keyboard_wait_descriptor(0);
4306
+
4307
pgtk_delete_display (dpyinfo);
4308
unblock_input ();
4309
@@ -6269,6 +6271,11 @@ pgtk_term_init (Lisp_Object display_name, char *resource_name)
6269
6271
6270
6272
xsettings_initialize (dpyinfo);
6273
6274
+ /* According to w32term.c this will stop the emacs console handling
6275
+ code from handling keyboard input when we want gtk to do that for
6276
+ us */
6277
+ add_keyboard_wait_descriptor (0);
6278
6279
pgtk_selection_init();
6280
6281
pgtk_im_init (dpyinfo);
0 commit comments