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:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user