(tkwin, pixel)
| 1367 | } |
| 1368 | if (valueMask & CWCursor) { |
| 1369 | winPtr->atts.cursor = attsPtr->cursor; |
| 1370 | } |
| 1371 | |
| 1372 | if (winPtr->window != None) { |
| 1373 | XChangeWindowAttributes(winPtr->display, winPtr->window, |
| 1374 | valueMask, attsPtr); |
| 1375 | } else { |
| 1376 | winPtr->dirtyAtts |= valueMask; |
| 1377 | } |
| 1378 | } |
| 1379 | |
| 1380 | void |
| 1381 | Tk_SetWindowBackground(tkwin, pixel) |
| 1382 | Tk_Window tkwin; /* Window to manipulate. */ |
| 1383 | unsigned long pixel; /* Pixel value to use for |
| 1384 | * window's background. */ |
| 1385 | { |
| 1386 | register TkWindow *winPtr = (TkWindow *) tkwin; |
| 1387 | |
| 1388 | winPtr->atts.background_pixel = pixel; |
no outgoing calls
no test coverage detected