From: Joe Riel <joer@san.rr.com>
To: help-gnu-emacs@gnu.org
Subject: Distinguish inactive windows
Date: Thu, 23 Jun 2011 17:52:36 -0700 [thread overview]
Message-ID: <20110623175236.0cfa498d@gauss> (raw)
I'm creating an application where focus is in a particular Emacs
frame, call it the control panel. Events in the control panel affect
a selected window in a separate frame. How can the selected window be
visually distinguished from the other windows in its frame? I'd like
to, say, set mode-line background of the selected window to a
particular color. Using (set-face-background 'mode-line-inactive
"yellow") doesn't work because that changes the mode-line of all
inactive windows, not just the one desired. Similarly, setting
mode-line doesn't work because the active window is in the control
panel, not the one that is being changed.
--
Joe Riel
next reply other threads:[~2011-06-24 0:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-24 0:52 Joe Riel [this message]
2011-06-24 2:45 ` Distinguish inactive windows Alp Aker
2011-06-25 4:47 ` Joe Riel
2011-06-25 16:00 ` Alp Aker
2011-06-24 2:51 ` Alp Aker
2011-06-24 5:38 ` Joe Riel
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=20110623175236.0cfa498d@gauss \
--to=joer@san.rr.com \
--cc=help-gnu-emacs@gnu.org \
/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.
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).