diff options
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index d6d6457f522..9673e5e315e 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -1446,6 +1446,8 @@ x_frame_of_widget (Widget widget) | |||
| 1446 | } | 1446 | } |
| 1447 | 1447 | ||
| 1448 | 1448 | ||
| 1449 | #ifdef USE_LUCID | ||
| 1450 | |||
| 1449 | /* Allocate a color which is lighter or darker than *PIXEL by FACTOR | 1451 | /* Allocate a color which is lighter or darker than *PIXEL by FACTOR |
| 1450 | or DELTA. Try a color with RGB values multiplied by FACTOR first. | 1452 | or DELTA. Try a color with RGB values multiplied by FACTOR first. |
| 1451 | If this produces the same color as PIXEL, try a color where all RGB | 1453 | If this produces the same color as PIXEL, try a color where all RGB |
| @@ -1461,6 +1463,8 @@ x_alloc_lighter_color_for_widget (Widget widget, Display *display, Colormap cmap | |||
| 1461 | return x_alloc_lighter_color (f, display, cmap, pixel, factor, delta); | 1463 | return x_alloc_lighter_color (f, display, cmap, pixel, factor, delta); |
| 1462 | } | 1464 | } |
| 1463 | 1465 | ||
| 1466 | #endif | ||
| 1467 | |||
| 1464 | 1468 | ||
| 1465 | /* Structure specifying which arguments should be passed by Xt to | 1469 | /* Structure specifying which arguments should be passed by Xt to |
| 1466 | cvt_string_to_pixel. We want the widget's screen and colormap. */ | 1470 | cvt_string_to_pixel. We want the widget's screen and colormap. */ |