1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-27 12:22:24 +00:00

Remove redundant calls to XFlush (#325)

Calls to flush_display_region() are responsible for calling XFlush()
and it is pointless to follow them up with another call.
This commit is contained in:
Nick Briggs
2021-01-30 18:25:58 -08:00
committed by GitHub
parent fd19d5273e
commit 88cf76e18b

View File

@@ -483,7 +483,6 @@ do_it_now:
#ifdef XWINDOW
XLOCK;
if (in_display_segment(dstbase)) flush_display_region(dx, dty, w, h);
XFlush(currentdsp->display_id);
XUNLOCK;
#endif /* XWINDOW */
@@ -841,7 +840,6 @@ do_it_now:
#ifdef XWINDOW
XLOCK;
if (in_display_segment(dstbase)) flush_display_region(dlx, dty, width, height);
XFlush(currentdsp->display_id);
XUNLOCK;
#endif /* XWINDOW */
@@ -1091,7 +1089,6 @@ do_it_now:
#ifdef XWINDOW
XLOCK;
if (in_display_segment(dstbase)) flush_display_region(left, dty, width, height);
XFlush(currentdsp->display_id);
XUNLOCK;
#endif /* XWINDOW */