[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19547: Patch for this bug
From: |
npostavs |
Subject: |
bug#19547: Patch for this bug |
Date: |
Sun, 27 Nov 2016 09:07:51 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
>
> + Lisp_Object ignore_event;
> +
> + switch (event->kind)
> + {
> + case FOCUS_IN_EVENT: ignore_event = Qfocus_in;
> + case FOCUS_OUT_EVENT: ignore_event = Qfocus_out;
> + case HELP_EVENT: ignore_event = Qhelp;
> + case ICONIFY_EVENT: ignore_event = Qiconify;
> + case DEICONIFY_EVENT: ignore_event = Qdeiconify;
> + case SELECTION_REQUEST_EVENT: ignore_event = Qselection_request;
You need a break at the end of each case, otherwise all events would be
treated as SELECTION_REQUEST_EVENT.
case FOCUS_IN_EVENT: ignore_event = Qfocus_in; break;
> + Vwhile_no_input_ignore_events = Qnil;
> + /* = listn (Qfocus_in, Qfocus_out, Qhelp, Qiconify, Qdeiconify,
> Qselection_request); */
I think something like this should work:
listn (CONSTYPE_PURE, 6, Qfocus_in, Qfocus_out, Qhelp, Qiconify,
Qdeiconify, Qselection_request);
- bug#19547: Patch for this bug, (continued)
- bug#19547: Patch for this bug, Reuben Thomas, 2016/11/08
- bug#19547: Patch for this bug, Eli Zaretskii, 2016/11/09
- bug#19547: Patch for this bug, Reuben Thomas, 2016/11/09
- bug#19547: Patch for this bug, Eli Zaretskii, 2016/11/10
- bug#19547: Patch for this bug, Thierry Volpiatto, 2016/11/25
- bug#19547: Patch for this bug, Eli Zaretskii, 2016/11/26
- bug#19547: Patch for this bug, Andreas Schwab, 2016/11/26
- bug#19547: Patch for this bug, Eli Zaretskii, 2016/11/26
- bug#19547: Patch for this bug, Thierry Volpiatto, 2016/11/26
- bug#19547: Patch for this bug, Thierry Volpiatto, 2016/11/27
- bug#19547: Patch for this bug,
npostavs <=
- bug#19547: Patch for this bug, Thierry Volpiatto, 2016/11/27
- bug#19547: Patch for this bug, Eli Zaretskii, 2016/11/27
- bug#19547: Patch for this bug, Thierry Volpiatto, 2016/11/27
- bug#19547: Patch for this bug, Eli Zaretskii, 2016/11/27
- bug#19547: Patch for this bug, Thierry Volpiatto, 2016/11/27
- bug#19547: Patch for this bug, Eli Zaretskii, 2016/11/27
- bug#19547: Patch for this bug, Thierry Volpiatto, 2016/11/27
- bug#19547: Patch for this bug, Eli Zaretskii, 2016/11/27
- bug#19547: Patch for this bug, Thierry Volpiatto, 2016/11/27
- bug#19547: Patch for this bug, Thierry Volpiatto, 2016/11/30