aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Albinus2021-03-18 12:43:35 +0100
committerMichael Albinus2021-03-18 12:43:35 +0100
commitce1b4acd71e962b6a72a779ee04cb5aeb6ceb6f2 (patch)
tree1660de493edf20937275c3c115481b3971eb2e2b /src
parent4d5ad8a16e1fe925dd3fa0993aabb2612a82622b (diff)
downloademacs-ce1b4acd71e962b6a72a779ee04cb5aeb6ceb6f2.tar.gz
emacs-ce1b4acd71e962b6a72a779ee04cb5aeb6ceb6f2.zip
Extend handled events in 'while-no-input-ignore-events' (Bug#47205)
* etc/NEWS: Mention changes to 'while-no-input-ignore-events'. * src/keyboard.c (kbd_buffer_store_buffered_event): Handle also Qfile_notify and Qdbus_event as ignore_event. (Bug#47205)
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 512fa279b38..266ebaa5fdf 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -3614,6 +3614,12 @@ kbd_buffer_store_buffered_event (union buffered_input_event *event,
3614 case ICONIFY_EVENT: ignore_event = Qiconify_frame; break; 3614 case ICONIFY_EVENT: ignore_event = Qiconify_frame; break;
3615 case DEICONIFY_EVENT: ignore_event = Qmake_frame_visible; break; 3615 case DEICONIFY_EVENT: ignore_event = Qmake_frame_visible; break;
3616 case SELECTION_REQUEST_EVENT: ignore_event = Qselection_request; break; 3616 case SELECTION_REQUEST_EVENT: ignore_event = Qselection_request; break;
3617#ifdef USE_FILE_NOTIFY
3618 case FILE_NOTIFY_EVENT: ignore_event = Qfile_notify; break;
3619#endif
3620#ifdef HAVE_DBUS
3621 case DBUS_EVENT: ignore_event = Qdbus_event; break;
3622#endif
3617 default: ignore_event = Qnil; break; 3623 default: ignore_event = Qnil; break;
3618 } 3624 }
3619 3625