diff options
| author | Paul Eggert | 2016-01-30 11:27:34 -0800 |
|---|---|---|
| committer | Paul Eggert | 2016-01-30 11:27:34 -0800 |
| commit | 82b089783e71b2aeef950eaecfe4cbc0735e64a2 (patch) | |
| tree | a826c20768071bda95a69b2632718c1641c6d0cc /src/dispnew.c | |
| parent | d27c8078ef766dae3587bc82b70128a70efaa223 (diff) | |
| parent | f7dc6d8b5bb318e02a4016d93f8b34de0716f4dc (diff) | |
| download | emacs-82b089783e71b2aeef950eaecfe4cbc0735e64a2.tar.gz emacs-82b089783e71b2aeef950eaecfe4cbc0735e64a2.zip | |
-
Diffstat (limited to 'src/dispnew.c')
| -rw-r--r-- | src/dispnew.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index 8d671f82e47..32c0dff9b92 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -44,6 +44,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 44 | #include TERM_HEADER | 44 | #include TERM_HEADER |
| 45 | #endif /* HAVE_WINDOW_SYSTEM */ | 45 | #endif /* HAVE_WINDOW_SYSTEM */ |
| 46 | 46 | ||
| 47 | #ifdef HAVE_XWIDGETS | ||
| 48 | # include "xwidget.h" | ||
| 49 | #endif | ||
| 50 | |||
| 47 | #include <errno.h> | 51 | #include <errno.h> |
| 48 | 52 | ||
| 49 | #include <fpending.h> | 53 | #include <fpending.h> |
| @@ -3543,6 +3547,9 @@ update_window (struct window *w, bool force_p) | |||
| 3543 | add_window_display_history (w, w->current_matrix->method, paused_p); | 3547 | add_window_display_history (w, w->current_matrix->method, paused_p); |
| 3544 | #endif | 3548 | #endif |
| 3545 | 3549 | ||
| 3550 | #ifdef HAVE_XWIDGETS | ||
| 3551 | xwidget_end_redisplay (w, w->current_matrix); | ||
| 3552 | #endif | ||
| 3546 | clear_glyph_matrix (desired_matrix); | 3553 | clear_glyph_matrix (desired_matrix); |
| 3547 | 3554 | ||
| 3548 | return paused_p; | 3555 | return paused_p; |
| @@ -4116,6 +4123,11 @@ scrolling_window (struct window *w, bool header_line_p) | |||
| 4116 | break; | 4123 | break; |
| 4117 | } | 4124 | } |
| 4118 | 4125 | ||
| 4126 | #ifdef HAVE_XWIDGETS | ||
| 4127 | /* Currently this seems needed to detect xwidget movement reliably. */ | ||
| 4128 | return 0; | ||
| 4129 | #endif | ||
| 4130 | |||
| 4119 | /* Give up if some rows in the desired matrix are not enabled. */ | 4131 | /* Give up if some rows in the desired matrix are not enabled. */ |
| 4120 | if (! MATRIX_ROW_ENABLED_P (desired_matrix, i)) | 4132 | if (! MATRIX_ROW_ENABLED_P (desired_matrix, i)) |
| 4121 | return -1; | 4133 | return -1; |