Introduce a cached boolean for changes to the mark of a window.

This is necessary to correctly redraw window decorations when the mark of
a window is added or removed.
This commit is contained in:
Ingo Bürk
2015-03-29 00:13:44 +01:00
parent 1e89a301d5
commit 2af1a80028
3 changed files with 15 additions and 2 deletions

View File

@ -543,6 +543,8 @@ struct Con {
/* user-definable mark to jump to this container later */
char *mark;
/* cached to decide whether a redraw is needed */
bool mark_changed;
double percent;