* xterm.c (handle_one_xevent): Revert part of 2013-09-17 change
to avoid Bug#15398.
This commit is contained in:
parent
230fe2a5a1
commit
2b943ba689
2 changed files with 17 additions and 9 deletions
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
21
src/xterm.c
21
src/xterm.c
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue