unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: Po Lu <luangruo@yahoo.com>
Cc: emacs-devel@gnu.org
Subject: Re: master 1555453694: Implement `alpha-background' on non-Cairo builds
Date: Mon, 31 Jan 2022 14:19:26 +0100	[thread overview]
Message-ID: <87bkzs2gbl.fsf@gmx.net> (raw)
In-Reply-To: <87sft4e5w6.fsf@yahoo.com> (Po Lu's message of "Mon, 31 Jan 2022 15:11:37 +0800")

[-- Attachment #1: Type: text/plain, Size: 1681 bytes --]

On Mon, 31 Jan 2022 15:11:37 +0800 Po Lu <luangruo@yahoo.com> wrote:

> Jose A Ortega Ruiz <jao@gnu.org> writes:
>
>> however, alpha-background doesn't work well in exwm (while alpha does;
>> alpha-background tints the background of the window but doesn't show
>> the underlying desktop wallpaper). that might well be a problem in exwm
>> rather than on emacs's side, though.
>
> It will only work on a composited display.  You could try running
> compton (or some other lightweight compositing manager that doesn't come
> with its own window manager) under exwm, and see if that works.

I just tried alpha-background and noticed a couple of seeming
inconsistencies: the text area displays the set amount of opacity
regardless of whether the frame is in focus or not, but while the tool
bar remains completely opaque in both case, the menu bar is completely
opaque when the frame is not in focus but completely transparent
(regardless of the setting of alpha-background) when the frame is in
focus (see attached images).  Are these differences expected?

This is on
GNU Emacs 29.0.50 (build 3, x86_64-pc-linux-gnu, GTK+ Version 3.24.31, cairo version 1.17.4)
 of 2022-01-31 built on strobelfs2
Repository revision: 790ad61fcf91c75811ed30d21518e1dac99be044
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101003
System Description: Linux From Scratch r11.0-115

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG
SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM
XPM XWIDGETS GTK3 ZLIB

Steve Berman


[-- Attachment #2: alpha-background-1.png --]
[-- Type: image/png, Size: 54809 bytes --]

[-- Attachment #3: alpha-background-2.png --]
[-- Type: image/png, Size: 57329 bytes --]

  reply	other threads:[~2022-01-31 13:19 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <164359565887.4040.6267298953476481105@vcs2.savannah.gnu.org>
     [not found] ` <20220131022059.4E94CC40706@vcs2.savannah.gnu.org>
2022-01-31  2:23   ` master 1555453694: Implement `alpha-background' on non-Cairo builds Lars Ingebrigtsen
2022-01-31  2:29     ` Po Lu
2022-01-31  6:10       ` Tassilo Horn
2022-01-31  6:39         ` Jose A Ortega Ruiz
2022-01-31  7:11           ` Po Lu
2022-01-31 13:19             ` Stephen Berman [this message]
2022-01-31 13:21               ` Po Lu
2022-01-31 13:29                 ` Stephen Berman
2022-01-31 13:34                   ` Po Lu
2022-01-31 18:39             ` Jose A Ortega Ruiz
2022-02-01  1:22               ` Po Lu
2022-02-01  2:52                 ` Jose A Ortega Ruiz
2022-02-01  4:46                   ` Jose A Ortega Ruiz
2022-02-01  5:20                     ` Po Lu
2022-02-01 18:19                       ` Jose A Ortega Ruiz
2022-02-02  1:01                         ` Po Lu
2022-02-02  3:03                           ` Po Lu
2022-02-02  3:50                             ` Jose A Ortega Ruiz
2022-02-03  2:22                               ` Jose A Ortega Ruiz
2022-02-03  2:51                                 ` Po Lu
2022-02-03  3:19                                   ` Jose A Ortega Ruiz
2022-02-03  2:55                                 ` Jose A Ortega Ruiz
2022-02-03  5:03                                   ` Po Lu
2022-01-31  7:07         ` Po Lu
2022-01-31  9:17           ` Tassilo Horn
2022-01-31 20:43           ` Tassilo Horn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bkzs2gbl.fsf@gmx.net \
    --to=stephen.berman@gmx.net \
    --cc=emacs-devel@gnu.org \
    --cc=luangruo@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).