Commit 2b943ba6 authored by Dmitry Antipov's avatar Dmitry Antipov
Browse files

* xterm.c (handle_one_xevent): Revert part of 2013-09-17 change

to avoid Bug#15398.
parent 230fe2a5
2013-09-20 Dmitry Antipov <dmantipov@yandex.ru>
* xterm.c (handle_one_xevent): Revert part of 2013-09-17 change
to avoid Bug#15398.
2013-09-19 Eli Zaretskii <eliz@gnu.org>
* w32reg.c (w32_get_string_resource): Make the first 2 arguments
......
......@@ -6101,13 +6101,6 @@ handle_one_xevent (struct x_display_info *dpyinfo,
f = x_window_to_frame (dpyinfo, event->xexpose.window);
if (f)
{
#if ! GTK_CHECK_VERSION (2, 7, 0)
/* This seems to be needed for GTK 2.6. */
x_clear_area (event->xexpose.display,
event->xexpose.window,
event->xexpose.x, event->xexpose.y,
event->xexpose.width, event->xexpose.height);
#endif
if (!FRAME_VISIBLE_P (f))
{
SET_FRAME_VISIBLE (f, 1);
......@@ -6116,8 +6109,18 @@ handle_one_xevent (struct x_display_info *dpyinfo,
SET_FRAME_GARBAGED (f);
}
else
expose_frame (f, event->xexpose.x, event->xexpose.y,
event->xexpose.width, event->xexpose.height);
{
#ifdef USE_GTK
/* This seems to be needed for GTK 2.6 and later, see
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15398. */
x_clear_area (event->xexpose.display,
event->xexpose.window,
event->xexpose.x, event->xexpose.y,
event->xexpose.width, event->xexpose.height);
#endif
expose_frame (f, event->xexpose.x, event->xexpose.y,
event->xexpose.width, event->xexpose.height);
}
}
else
{
......
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