about summary refs log tree commit diff
diff options
context:
space:
mode:
authorokan <okan>2020-01-21 15:50:03 +0000
committerokan <okan>2020-01-21 15:50:03 +0000
commit2fc191f978225291055477f42d2b59afd62b5c75 (patch)
treebaed57d1660488b2fc36ae877e6c889d606f77ea
parent781af9c998b109ffc21569afcca8e0f850c4ddbf (diff)
downloadcwm-2fc191f978225291055477f42d2b59afd62b5c75.tar.gz
cwm-2fc191f978225291055477f42d2b59afd62b5c75.tar.xz
cwm-2fc191f978225291055477f42d2b59afd62b5c75.zip
Ensure the pointer stays within client bounds after a window 'snap' (to edge).
reported by Stefan Hagen.
-rw-r--r--kbfunc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kbfunc.c b/kbfunc.c
index b171231..e27e707 100644
--- a/kbfunc.c
+++ b/kbfunc.c
@@ -322,6 +322,7 @@ kbfunc_client_snap(void *ctx, struct cargs *cargs)
 		}
 	}
 	client_move(cc);
+	client_ptr_inbound(cc, 1);
 }
 
 void