X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xoptions.c;h=6993ab26ada7878a743db9bfcd76c63d68b2bab8;hb=67b3a0d7c465522feb67841c7374bf863df19357;hp=70ab43195f8a6ee72d4a5885d853bbc94424d3db;hpb=faa0fea4cf9cc9de2d73add4695af3ed06517787;p=xboard.git diff --git a/xoptions.c b/xoptions.c index 70ab431..6993ab2 100644 --- a/xoptions.c +++ b/xoptions.c @@ -599,10 +599,9 @@ GraphEventProc(Widget widget, caddr_t client_data, XEvent *event) } void -DrawExpose (Option *opt, int x, int y, int w, int h) +GraphExpose (Option *opt, int x, int y, int w, int h) { XExposeEvent e; - opt = &mainOptions[W_BOARD]; if(!opt->handle) return; e.x = x; e.y = y; e.width = w; e.height = h; e.count = -1; e.type = Expose; // count = -1: kludge to suppress sizing GraphEventProc(opt->handle, (caddr_t) opt, (XEvent *) &e); // fake expose event