diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/inotify.c | 1 | ||||
| -rw-r--r-- | src/keyboard.c | 9 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/inotify.c b/src/inotify.c index c29d940c984..456a9b22a80 100644 --- a/src/inotify.c +++ b/src/inotify.c | |||
| @@ -339,6 +339,7 @@ inotify_callback (int fd, void *_) | |||
| 339 | struct input_event event; | 339 | struct input_event event; |
| 340 | EVENT_INIT (event); | 340 | EVENT_INIT (event); |
| 341 | event.kind = FILE_NOTIFY_EVENT; | 341 | event.kind = FILE_NOTIFY_EVENT; |
| 342 | event.frame_or_window = Qnil; | ||
| 342 | 343 | ||
| 343 | for (ssize_t i = 0; i < n; ) | 344 | for (ssize_t i = 0; i < n; ) |
| 344 | { | 345 | { |
diff --git a/src/keyboard.c b/src/keyboard.c index 5feb0fe231e..a9cbd107dde 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -7220,12 +7220,11 @@ make_lispy_event (struct input_event *event) | |||
| 7220 | 7220 | ||
| 7221 | #ifdef USE_FILE_NOTIFY | 7221 | #ifdef USE_FILE_NOTIFY |
| 7222 | case FILE_NOTIFY_EVENT: | 7222 | case FILE_NOTIFY_EVENT: |
| 7223 | #ifdef HAVE_W32NOTIFY | ||
| 7224 | /* Make an event (file-notify (DESCRIPTOR ACTION FILE) CALLBACK). */ | 7223 | /* Make an event (file-notify (DESCRIPTOR ACTION FILE) CALLBACK). */ |
| 7225 | return list3 (Qfile_notify, event->arg, event->frame_or_window); | 7224 | if (!NILP (event->frame_or_window)) /* HAVE_W32NOTIFY */ |
| 7226 | #else | 7225 | return list3 (Qfile_notify, event->arg, event->frame_or_window); |
| 7227 | return Fcons (Qfile_notify, event->arg); | 7226 | else |
| 7228 | #endif | 7227 | return Fcons (Qfile_notify, event->arg); |
| 7229 | #endif /* USE_FILE_NOTIFY */ | 7228 | #endif /* USE_FILE_NOTIFY */ |
| 7230 | 7229 | ||
| 7231 | case SLEEP_EVENT: | 7230 | case SLEEP_EVENT: |