mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-05 07:01:11 -08:00
Fix builds without GTK
* src/xfns.c (x_set_alpha_background): Don't call gtk_widget_set_app_paintable without GTK.
This commit is contained in:
parent
1555453694
commit
0a34aeee7e
1 changed files with 2 additions and 0 deletions
|
|
@ -732,10 +732,12 @@ x_set_alpha_background (struct frame *f, Lisp_Object arg, Lisp_Object oldval)
|
|||
{
|
||||
gui_set_alpha_background (f, arg, oldval);
|
||||
|
||||
#ifdef USE_GTK
|
||||
/* This prevents GTK from painting the window's background, which
|
||||
interferes with transparent background in some environments */
|
||||
gtk_widget_set_app_paintable (FRAME_GTK_OUTER_WIDGET (f),
|
||||
f->alpha_background != 1.0);
|
||||
#endif
|
||||
|
||||
if (f->alpha_background != 1.0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue