Mercurial > emacs
changeset 37558:21ed9ad15f92
(XTread_socket) <Expose> [!USE_TOOLKIT_SCROLL_BARS]: Fix
the change from 2001-04-30.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Thu, 03 May 2001 17:47:37 +0000 |
parents | a3256408325f |
children | 9e684ff3f12d |
files | src/xterm.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.c Thu May 03 17:10:00 2001 +0000 +++ b/src/xterm.c Thu May 03 17:47:37 2001 +0000 @@ -10025,6 +10025,9 @@ } else { +#ifndef USE_TOOLKIT_SCROLL_BARS + struct scroll_bar *bar; +#endif #if defined USE_X_TOOLKIT && defined USE_LUCID /* Submenus of the Lucid menu bar aren't widgets themselves, so there's no way to dispatch events @@ -10041,8 +10044,7 @@ /* Dispatch event to the widget. */ goto OTHER; #else /* not USE_TOOLKIT_SCROLL_BARS */ - struct scroll_bar *bar - = x_window_to_scroll_bar (event.xexpose.window); + bar = x_window_to_scroll_bar (event.xexpose.window); if (bar) x_scroll_bar_expose (bar, &event);