bug-gnu-emacs
[Top][All Lists]
Advanced

[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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]