[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#69782: [PATCH] Fringe bitmaps should respect alpha-background
From: |
Po Lu |
Subject: |
bug#69782: [PATCH] Fringe bitmaps should respect alpha-background |
Date: |
Mon, 18 Mar 2024 22:02:25 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Nate Sandy <nsan@posteo.de> writes:
> Hi,
>
> fringe bitmaps currently don't respect the frame parameter
> 'alpha-background', i.e., their background is opaque. But since the
> fringe itself *does* respect 'alpha-background', fringe bitmaps should
> do the same. This patch fixes that. See attached screenshots for the
> effect.
> The alpha-background used here was set with:
> (set-frame-parameter nil 'alpha-background 50)
>
> I am not sure which other platforms support 'alpha-background', and
> unfortunately I am not able to test with those.
PGTK and GTK 3 or no-toolkit X builds, with either Cairo or XRender.
>
> The change is altering the parameter 'respect_alpha_background' in
> {pgtk,x}_cr_draw_image - while this name sounds quite generic, I didn't
> find any other usages of this function than drawing fringe bitmaps. I
> hope I didn't miss any.
What about x_draw_image_foreground?
> I hope that I'm following the conventions here correctly - please let me
> know if I can improve anything!
This patch is missing a ChangeLog entry. Though your other patch fails
in several more significant respects, that can wait until the
methodological concerns are resolved.
Thanks for your interest in Emacs.
- bug#69782: [PATCH] Fringe bitmaps should respect alpha-background, Nate Sandy, 2024/03/13
- bug#69782: [PATCH] Fringe bitmaps should respect alpha-background,
Po Lu <=
- bug#69782: [PATCH] Fringe bitmaps should respect alpha-background, Nate Sandy, 2024/03/19
- bug#69782: [PATCH] Fringe bitmaps should respect alpha-background, Po Lu, 2024/03/19
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- bug#69782: [PATCH] Fringe bitmaps should respect alpha-background, Po Lu, 2024/03/21
- bug#69782: [PATCH] Fringe bitmaps should respect alpha-background, Nathanael Sandy, 2024/03/21
- bug#69782: [PATCH] Fringe bitmaps should respect alpha-background, Po Lu, 2024/03/21
- bug#69782: [PATCH] Fringe bitmaps should respect alpha-background, Nate Sandy, 2024/03/22
- bug#69782: [PATCH] Fringe bitmaps should respect alpha-background, Eli Zaretskii, 2024/03/30
- bug#69782: [PATCH] Fringe bitmaps should respect alpha-background, Po Lu, 2024/03/30
bug#69782: [PATCH] Fringe bitmaps should respect alpha-background, Nate Sandy, 2024/03/30