| 246 |
|
XSetFont(thedisplay, ourgc, fontid); |
| 247 |
|
revgc = XCreateGC(thedisplay, wind, 0, 0); |
| 248 |
|
XSetFunction(thedisplay, revgc, GXinvert); |
| 249 |
– |
XStoreName(thedisplay, wind, fname == NULL ? progname : fname); |
| 249 |
|
XDefineCursor(thedisplay, wind, XCreateFontCursor(thedisplay, |
| 250 |
|
XC_diamond_cross)); |
| 251 |
|
if (geometry != NULL) { |
| 280 |
|
|ButtonMotionMask|StructureNotifyMask |
| 281 |
|
|KeyPressMask|ExposureMask); |
| 282 |
|
XMapWindow(thedisplay, wind); |
| 283 |
+ |
/* store name last as ready signal */ |
| 284 |
+ |
XStoreName(thedisplay, wind, fname == NULL ? progname : fname); |
| 285 |
|
return; |
| 286 |
|
memerr: |
| 287 |
|
quiterr("out of memory"); |