Never set opaque region without an alpha channel
* src/xfns.c (x_set_alpha_background): Don't modify opaque region if the visual has no alpha channel.
This commit is contained in:
parent
3fb68b3d25
commit
f622034fa5
1 changed files with 3 additions and 0 deletions
|
@ -746,6 +746,9 @@ x_set_alpha_background (struct frame *f, Lisp_Object arg, Lisp_Object oldval)
|
|||
f->alpha_background != 1.0);
|
||||
#endif
|
||||
|
||||
if (!FRAME_DISPLAY_INFO (f)->alpha_bits)
|
||||
return;
|
||||
|
||||
if (f->alpha_background != 1.0)
|
||||
{
|
||||
XChangeProperty (FRAME_X_DISPLAY (f),
|
||||
|
|
Loading…
Add table
Reference in a new issue