Skip to content

focus-out-hook causing wrong colors on Mac #135

@luisgerhorst

Description

@luisgerhorst

I'm using solarized-theme (melpa-stable, version 1.2.2) with solarized-high-contrast-mode-line enabled. Here's how I set up solarized and powerline.

When Emacs is focused the mode line of active buffers looks fine:
focused
The problem occurs when I use another application:
unfocused
I have to click two times in the Emacs frame to make it look normal again. The mode lines of inactive buffers always look the same:
focused-inactive-buffer

Note: I worked around the problem by calling (remove-hook 'focus-out-hook 'powerline-unset-selected-window) after setting up powerline. This causes the mode line to not change when Emacs is unfocused.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions