summary refs log tree commit diff
path: root/ui.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-08-12 21:38:25 -0400
committerJune McEnroe <june@causal.agency>2018-08-12 21:38:25 -0400
commita09df5f69729dcdddf413f3a47e3c0c9d7b239eb (patch)
treee046278ccb40253d42ed6358318421bfcbdf3da8 /ui.c
parentDisable focus tracking in uiHide (diff)
downloadcatgirl-a09df5f69729dcdddf413f3a47e3c0c9d7b239eb.tar.gz
catgirl-a09df5f69729dcdddf413f3a47e3c0c9d7b239eb.zip
Avoid setting mark if switching to the same view
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c2
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;
 }
 
74b38deaf863d5ce6b733cdc9e536f18f2bc1e&follow=1'>Un-NOT trans.alpha values in pngoJune McEnroe 2018-09-18Refactor reads in pngo and clear palette between filesJune McEnroe 2018-09-17Add tRNS support to pngoJune McEnroe 2018-09-11Move gfx man pages to gfx/manJune McEnroe 2018-09-11Move bin man pages to bin/manJune McEnroe 2018-09-11Rewrite gfx.7 and render plaintext READMEJune McEnroe 2018-09-11Remove GAMES from BINSJune McEnroe 2018-09-11Rewrite bin.7 and render to plaintext READMEJune McEnroe 2018-09-11Add "blank" lines to man pagesJune McEnroe 2018-09-10Add mdoc syntax fileJune McEnroe 2018-09-08Fix Nm usage in multi-name man pagesJune McEnroe 2018-09-08Put real dates on man pagesJune McEnroe 2018-09-08Replace gfx README with REAMDE.7June McEnroe 2018-09-08Link gfx man pages in ~/.localJune McEnroe