summary refs log tree commit diff
path: root/kbfunc.c
diff options
context:
space:
mode:
authorokan <okan>2014-01-20 23:18:47 +0000
committerokan <okan>2014-01-20 23:18:47 +0000
commit83f9ef884a07fc5b408aae2e7ccefbac33cb379f (patch)
tree6afd43a56e8de208ba4c2d6a68291f826e4c8f32 /kbfunc.c
parentc7adadaf9de082d9a0d811cdf8b0b24de6da31b4 (diff)
downloadcwm-83f9ef884a07fc5b408aae2e7ccefbac33cb379f.tar.gz
cwm-83f9ef884a07fc5b408aae2e7ccefbac33cb379f.tar.xz
cwm-83f9ef884a07fc5b408aae2e7ccefbac33cb379f.zip
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.
Diffstat (limited to 'kbfunc.c')
-rw-r--r--kbfunc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kbfunc.c b/kbfunc.c
index 1d8837c..e8166ad 100644
--- a/kbfunc.c
+++ b/kbfunc.c
@@ -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);
 }