diff options
| author | Po Lu | 2022-01-31 10:34:50 +0800 |
|---|---|---|
| committer | Po Lu | 2022-01-31 10:37:49 +0800 |
| commit | 2f32333cff29b8ffe8bf0034af4a0d4b17fc32f0 (patch) | |
| tree | c8c1d5e90a58d92cbcfa0299d8cae246e0aba13e /src | |
| parent | 7b137370558e8924a8282880bdffe84ff8324d28 (diff) | |
| download | emacs-2f32333cff29b8ffe8bf0034af4a0d4b17fc32f0.tar.gz emacs-2f32333cff29b8ffe8bf0034af4a0d4b17fc32f0.zip | |
Fix the no toolkit build.
* src/xfns.c (x_window): Use n_planes instead of CopyFromParent
for depth.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c index ed56b072148..6716acc25b5 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -3780,7 +3780,7 @@ x_window (struct frame *f) | |||
| 3780 | f->top_pos, | 3780 | f->top_pos, |
| 3781 | FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), | 3781 | FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f), |
| 3782 | f->border_width, | 3782 | f->border_width, |
| 3783 | CopyFromParent, /* depth */ | 3783 | FRAME_DISPLAY_INFO (f)->n_planes, /* depth */ |
| 3784 | InputOutput, /* class */ | 3784 | InputOutput, /* class */ |
| 3785 | FRAME_X_VISUAL (f), | 3785 | FRAME_X_VISUAL (f), |
| 3786 | attribute_mask, &attributes); | 3786 | attribute_mask, &attributes); |