diff options
author | June McEnroe <june@causal.agency> | 2018-08-12 21:38:25 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-08-12 21:38:25 -0400 |
commit | a09df5f69729dcdddf413f3a47e3c0c9d7b239eb (patch) | |
tree | e046278ccb40253d42ed6358318421bfcbdf3da8 /ui.c | |
parent | Disable focus tracking in uiHide (diff) | |
download | test-a09df5f69729dcdddf413f3a47e3c0c9d7b239eb.tar.gz test-a09df5f69729dcdddf413f3a47e3c0c9d7b239eb.zip |
Avoid setting mark if switching to the same view
Diffstat (limited to 'ui.c')
-rw-r--r-- | ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.c b/ui.c index 9f198c4..559f7b7 100644 --- a/ui.c +++ b/ui.c @@ -210,8 +210,8 @@ static void uiRedraw(void) { static void uiView(struct View *view) { if (view->topic) touchwin(view->topic); touchwin(view->log); - view->mark = false; ui.view->mark = true; + view->mark = false; ui.view = view; } |