248 |
|
XSetFunction(thedisplay, revgc, GXinvert); |
249 |
|
XDefineCursor(thedisplay, wind, XCreateFontCursor(thedisplay, |
250 |
|
XC_diamond_cross)); |
251 |
+ |
XStoreName(thedisplay, wind, fname == NULL ? progname : fname); |
252 |
|
if (geometry != NULL) { |
253 |
|
bzero((char *)&oursizhints, sizeof(oursizhints)); |
254 |
|
i = XParseGeometry(geometry, &oursizhints.x, &oursizhints.y, |
281 |
|
|ButtonMotionMask|StructureNotifyMask |
282 |
|
|KeyPressMask|ExposureMask); |
283 |
|
XMapWindow(thedisplay, wind); |
283 |
– |
/* store name last as ready signal */ |
284 |
– |
XStoreName(thedisplay, wind, fname == NULL ? progname : fname); |
284 |
|
return; |
285 |
|
memerr: |
286 |
|
quiterr("out of memory"); |