about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJosh Rickmar <jrick@devio.us>2012-07-19 11:52:41 -0400
committerJosh Rickmar <jrick@devio.us>2012-07-19 11:52:41 -0400
commit31f11a7ad4665240da2f3cd73315bfa7022aa08a (patch)
tree761ba25252f721113753caf0a2ac1b3e2712428a
parent20bf24872e2101854c8c14624d85d9c1781db012 (diff)
downloadxombrero-31f11a7ad4665240da2f3cd73315bfa7022aa08a.tar.gz
Oops, we don't want to blindly re-enter command mode if the old
focused entry is no longer active.
-rw-r--r--inputfocus.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/inputfocus.c b/inputfocus.c
index 01a1e33..08ecaa0 100644
--- a/inputfocus.c
+++ b/inputfocus.c
@@ -327,7 +327,6 @@ command_mode(struct tab *t, struct karg *args)
 			g_free(t->active_text);
 			t->active_text = NULL;
 		}
-		t->mode = XT_MODE_COMMAND;
 	}
 
 	return (XT_CB_HANDLED);