From 84ce709251f9e47f74b8a6c75760eb3182063f8b Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 20 Jan 2014 23:18:47 +0000 Subject: Save the ptr position before lowering via kbd, so as to be able to cycle back with the pointer in the right place; matches behaviour when lowering via the mouse function. --- kbfunc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kbfunc.c') diff --git a/kbfunc.c b/kbfunc.c index ec6008d..a0a6f57 100644 --- a/kbfunc.c +++ b/kbfunc.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: kbfunc.c,v 1.88 2014/01/20 21:34:32 okan Exp $ + * $OpenBSD: kbfunc.c,v 1.89 2014/01/20 23:18:47 okan Exp $ */ #include @@ -41,6 +41,7 @@ extern sig_atomic_t xev_quit; void kbfunc_client_lower(struct client_ctx *cc, union arg *arg) { + client_ptrsave(cc); client_lower(cc); } -- cgit v1.2.3-2-gb3c3