diff --git a/appl/xnlock/xnlock.c b/appl/xnlock/xnlock.c index c7f20dd94..4035fff94 100644 --- a/appl/xnlock/xnlock.c +++ b/appl/xnlock/xnlock.c @@ -472,6 +472,8 @@ ClearWindow(Widget w, XEvent *_event, String *_s, Cardinal *_n) XExposeEvent *event = (XExposeEvent *)_event; if (!XtIsRealized(w)) return; + XClearArea(dpy, XtWindow(w), event->x, event->y, + event->width, event->height, False); if (state == GET_PASSWD) post_prompt_box(XtWindow(w)); if (timeout_id == 0 && event->count == 0) {