all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David De La Harpe Golden <david@harpegolden.net>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Seiji Zenitani <zenitani@mac.com>, emacs-devel@gnu.org
Subject: Re: new frame-parameter "alpha"
Date: Sat, 15 Mar 2008 02:41:09 +0000	[thread overview]
Message-ID: <47DB3745.3020007@harpegolden.net> (raw)
In-Reply-To: <jwvk5k5kwc0.fsf-monnier+emacs@gnu.org>

Stefan Monnier wrote:
>> The attached patch adds the window (frame) opacity feature to GNU Emacs.
>> The user can control the frame opacity via a frame parameter  'alpha'.
>> If you like the code, I'll start to contact major  contributors.
> 
> I do not personally care for transparency, and I'm wondering if it's not
> better handled by the (compositing) window-manager, but if some people
> like this feature, I'm not opposed to it.
> 

Well, (I think) the code is just programmatically setting the
"NET_WM_WINDOW_OPACITY" property on the X Window, which needs a
suitably-compositing-capable manager capable of interpreting it?

Though in typical use I would indeed expect users to just use the
relevant window manager preferences to set any desired overall opacity
of their emacs frames if they want it.  Are managers in wide use that
interpret the opacity property but don't allow it to be set on a
per-window/application basis? (KDE's certainly allows that, dunno about
GNOME's).   Still, one can set-frame-width/height or iconify-frame
from within emacs, why not opacity?


>  (defun set-alpha ...
> Is this necessary/important?

If it exists, I think it should probably be called
set-frame-opacity - set-alpha is very vague and lots of things
might have alphas.

It should probably also take frame then opacity arg noninteractively.

Actually,

(set-frame-parameter (selected-frame) 'opacity 80)

should ideally work as expected if frame-parameters returns the opacity
- and if it does work, is set-frame-opacity really necessary?
















  reply	other threads:[~2008-03-15  2:41 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-14 11:02 new frame-parameter "alpha" Seiji Zenitani
2008-03-14 18:28 ` Stefan Monnier
2008-03-15  2:41   ` David De La Harpe Golden [this message]
2008-03-15 20:22     ` Seiji Zenitani
2008-03-15 20:53       ` David De La Harpe Golden
2008-03-15 19:54   ` Seiji Zenitani
2008-03-15 21:19     ` Stefan Monnier
2008-03-18 20:11       ` Brian Cully
2008-03-19  5:55         ` Seiji Zenitani
2008-03-19 20:23           ` David De La Harpe Golden
2008-03-26  0:46             ` Seiji Zenitani
2008-03-19  5:51       ` Seiji Zenitani
2008-03-19 16:16         ` Stefan Monnier
2008-03-20 22:47           ` Seiji Zenitani
2008-03-24 19:26             ` Stefan Monnier
2008-04-29  3:12             ` Seiji Zenitani
2008-04-29  7:13               ` Glenn Morris
2008-05-02 15:09               ` Stefan Monnier
2008-03-20 15:22 ` Ken Raeburn
2008-03-20 22:53   ` Seiji Zenitani
  -- strict thread matches above, loose matches on Subject: below --
2008-04-05 17:21 Seiji Zenitani
2008-05-02 20:37 Seiji Zenitani
2008-05-13 20:29 ` Stefan Monnier
2008-05-14 16:16   ` Seiji Zenitani
     [not found] <EEC622D2-0119-1000-F1CB-50016375E1D3-Webmail-10013@mac.com>
2008-05-15  3:56 ` Seiji Zenitani

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

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

  git send-email \
    --in-reply-to=47DB3745.3020007@harpegolden.net \
    --to=david@harpegolden.net \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=zenitani@mac.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.