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];