From 90afd399fd58f2084fd8c74dcc7de7511f46b02f Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Mon, 20 Jun 2016 22:11:17 +0200 Subject: [PATCH] Enable registers to continue a search. --- src/main.c | 2 ++ src/main.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 39d8770..bc1496e 100644 --- a/src/main.c +++ b/src/main.c @@ -577,6 +577,8 @@ static Client *client_new(WebKitWebView *webview) /* start client in normal mode */ vb_enter(c, 'n'); + c->state.enable_register = TRUE; + gtk_widget_show_all(c->window); /* Prepend the new client to the queue of clients. */ diff --git a/src/main.h b/src/main.h index 6e91291..c1e925e 100644 --- a/src/main.h +++ b/src/main.h @@ -187,7 +187,6 @@ struct Map { int mappedlen; /* length of the mapped keys string */ char mode; /* mode for which the map is available */ gboolean remap; /* if FALSE do not remap the {rhs} of this map */ - gboolean enable_register; /* indicates if registers are filled */ }; struct Mode { -- 2.20.1