diff options
| author | Jarek Czekalski | 2014-04-21 11:55:28 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2014-04-21 11:55:28 -0400 |
| commit | 6709d4dab9d434dcd1d797e081dfc796b735a1ff (patch) | |
| tree | d3b0a7d1a084fb6cafa8c3ed0ac197bfb053cb1c /src/keyboard.c | |
| parent | f982b37104acdd2b3aee4fe3bb08ae052990f869 (diff) | |
| download | emacs-6709d4dab9d434dcd1d797e081dfc796b735a1ff.tar.gz emacs-6709d4dab9d434dcd1d797e081dfc796b735a1ff.zip | |
Fix freezing with scroll bars of GTK3 Toolkit.
* src/keyboard.c (unblock_input): Add comment.
* src/xgselect.c (xg_select): Prevent Glib main loop recursion.
Fixes: debbugs:15801
Diffstat (limited to 'src/keyboard.c')
| -rw-r--r-- | src/keyboard.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 1f4b23d9905..90479375072 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -7121,7 +7121,12 @@ unblock_input_to (int level) | |||
| 7121 | /* End critical section. | 7121 | /* End critical section. |
| 7122 | 7122 | ||
| 7123 | If doing signal-driven input, and a signal came in when input was | 7123 | If doing signal-driven input, and a signal came in when input was |
| 7124 | blocked, reinvoke the signal handler now to deal with it. */ | 7124 | blocked, reinvoke the signal handler now to deal with it. |
| 7125 | |||
| 7126 | It will also process queued input, if it was not read before. | ||
| 7127 | When a longer code sequence does not use block/unblock input | ||
| 7128 | at all, the whole input gathered up to the next call to | ||
| 7129 | unblock_input will be processed inside that call. */ | ||
| 7125 | 7130 | ||
| 7126 | void | 7131 | void |
| 7127 | unblock_input (void) | 7132 | unblock_input (void) |