Commit 12949a7f authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(XTread_socket) <Expose> [!USE_TOOLKIT_SCROLL_BARS]: Fix

the change from 2001-04-30.
parent a779d213
2001-05-03 Eli Zaretskii <eliz@is.elta.co.il>
* xterm.c (XTread_socket) <Expose> [!USE_TOOLKIT_SCROLL_BARS]: Fix
the change from 2001-04-30.
2001-05-03 Gerd Moellmann <gerd@gnu.org>
* xfns.c (file_dialog_unmap_cb): New function.
......
......@@ -10025,6 +10025,9 @@ XTread_socket (sd, bufp, numchars, expected)
}
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 @@ XTread_socket (sd, bufp, numchars, expected)
/* 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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment