From 57e45bf02e19aab7c939444f008e3a3ddd474307 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Fri, 22 Mar 2019 14:41:40 +0100 Subject: [PATCH] Remove xrepaint_noclear Remove the now obsolete function. --- xwin.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/xwin.c b/xwin.c index 641779f..d349454 100644 --- a/xwin.c +++ b/xwin.c @@ -59,7 +59,6 @@ extern int xsetup(); extern int xmainloop(); extern void xclear(); extern void xrepaint(); -extern void xrepaint_noclear(); extern void xdrawrect(); /* @@ -334,6 +333,7 @@ a_removehelp(Widget w, XEvent* event, String* params, Cardinal* num_params) * callback routines */ +static void setRepaintWhenIdle(); static void c_repaint(Widget w, XtPointer data, XEvent* event, Boolean* continue_to_dispatch) @@ -498,14 +498,6 @@ void xrepaint() repaint(xwa.width, xwa.height); } -void xrepaint_noclear() -{ - XWindowAttributes xwa; - - XGetWindowAttributes(dpy, win, &xwa); - repaint(xwa.width, xwa.height); -} - void readable_float(float number, char* number_label) { char number_string[1024];