From 178643ac5ef7fc3d2dbf28352edb566daefee288 Mon Sep 17 00:00:00 2001 From: okan Date: Tue, 21 Jan 2020 15:50:03 +0000 Subject: Ensure the pointer stays within client bounds after a window 'snap' (to edge). reported by Stefan Hagen. --- kbfunc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kbfunc.c b/kbfunc.c index 7b69066..4840487 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.166 2019/08/13 18:45:38 okan Exp $ + * $OpenBSD: kbfunc.c,v 1.167 2020/01/21 15:50:03 okan Exp $ */ #include @@ -322,6 +322,7 @@ kbfunc_client_snap(void *ctx, struct cargs *cargs) } } client_move(cc); + client_ptr_inbound(cc, 1); } void -- cgit v1.2.3-2-gb3c3