diff options
Diffstat (limited to 'otherlibs/graph/open.c')
-rw-r--r-- | otherlibs/graph/open.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/otherlibs/graph/open.c b/otherlibs/graph/open.c index d222198ac..cc00620df 100644 --- a/otherlibs/graph/open.c +++ b/otherlibs/graph/open.c @@ -292,6 +292,8 @@ void gr_handle_simple_event(XEvent *e) XFillRectangle(grdisplay, newbstore.win, newbstore.gc, 0, 0, newbstore.w, newbstore.h); XSetForeground(grdisplay, newbstore.gc, grcolor); + if (grfont != NULL) + XSetFont(grdisplay, newbstore.gc, grfont->fid); /* Copy the old backing store into the new one */ XCopyArea(grdisplay, grbstore.win, newbstore.win, newbstore.gc, |