mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-05-31 01:32:00 -07:00
[GTK3] On Expose, repaint the border before the content
* src/xterm.c (handle_one_xevent): Move the x_clear_under_internal_border call before expose_frame, for less chance of implicit flush to screen in between (bug#80662).
This commit is contained in:
parent
5323eebcff
commit
acc07f1a03
1 changed files with 3 additions and 3 deletions
|
|
@ -19931,14 +19931,14 @@ handle_one_xevent (struct x_display_info *dpyinfo,
|
|||
x_clear_area (f,
|
||||
event->xexpose.x, event->xexpose.y,
|
||||
event->xexpose.width, event->xexpose.height);
|
||||
/* Paint the border before content (few operations, less
|
||||
chance for a compositor sync in between). */
|
||||
x_clear_under_internal_border (f);
|
||||
#endif
|
||||
expose_frame (f, event->xexpose.x, event->xexpose.y,
|
||||
event->xexpose.width, event->xexpose.height);
|
||||
#ifndef USE_TOOLKIT_SCROLL_BARS
|
||||
x_scroll_bar_handle_exposure (f, (XEvent *) event);
|
||||
#endif
|
||||
#ifdef USE_GTK
|
||||
x_clear_under_internal_border (f);
|
||||
#endif
|
||||
}
|
||||
#ifndef USE_TOOLKIT_SCROLL_BARS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue