[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Highlighting current window
From: |
Drew Adams |
Subject: |
RE: Highlighting current window |
Date: |
Sat, 30 Jun 2012 11:23:50 -0700 |
> I was looking for ways to make the focused window clearer. The best
> way would probably a slightly lighter background.
>
> However, I couldn't find any hooks to easily do that. I was expecting
> something along the lines of `window-leave-hook' and
> `window-focus-hook' but I couldn't find anything similar.
>
> The best suggestion that the IRC people came up with is to use
> `post-command-hook' and match `switch-buffer', but that sounds a bit
> ugly. Is there a better way?
Typically folks just look at the mode line to tell which window is selected.
Can you get by by customizing faces `mode-line' and `mode-line-inactive', making
the former something that stands out for you?