summaryrefslogtreecommitdiff
path: root/app/cwm
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2014-01-20 23:18:48 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2014-01-20 23:18:48 +0000
commit83b333a032643c860c857992bb003643eb98ffa8 (patch)
tree925ddc5d59eaf4ce86bd1974676ae57b6c11f065 /app/cwm
parent6b524d2356d26884bc5dbfcbc18fec3acdb162d0 (diff)
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 'app/cwm')
-rw-r--r--app/cwm/kbfunc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/cwm/kbfunc.c b/app/cwm/kbfunc.c
index ec6008d59..a0a6f57b0 100644
--- a/app/cwm/kbfunc.c
+++ b/app/cwm/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 <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);
}