diff options
author | okan | 2014-01-20 23:18:47 +0000 |
---|---|---|
committer | okan | 2014-01-20 23:18:47 +0000 |
commit | 84ce709251f9e47f74b8a6c75760eb3182063f8b (patch) | |
tree | 2fadbc153bea2b5b6362681bdaa71f5cf9f85c18 /kbfunc.c | |
parent | a312a1655b8beac83ae1df783c44e84867f0ebcf (diff) | |
download | cwm-84ce709251f9e47f74b8a6c75760eb3182063f8b.tar.gz |
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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 <sys/param.h> @@ -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); } |