all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Distinguish inactive windows
@ 2011-06-24  0:52 Joe Riel
  2011-06-24  2:45 ` Alp Aker
  2011-06-24  2:51 ` Alp Aker
  0 siblings, 2 replies; 6+ messages in thread
From: Joe Riel @ 2011-06-24  0:52 UTC (permalink / raw
  To: help-gnu-emacs

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




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-06-25 16:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-24  0:52 Distinguish inactive windows Joe Riel
2011-06-24  2:45 ` 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

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.