*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
-extern void erase_full_window(Display *dpy, Window window);
+typedef struct eraser_state eraser_state;
+
+extern eraser_state *erase_window (Display *, Window, eraser_state *);