diff options
author | okan | 2020-01-21 15:50:03 +0000 |
---|---|---|
committer | Wynn Wolf Arbor | 2020-03-18 14:28:38 +0100 |
commit | 178643ac5ef7fc3d2dbf28352edb566daefee288 (patch) | |
tree | e9a45223057e371c07ce168b6d10dc61b5e610bd /kbfunc.c | |
parent | 9eb51ff19fe22b4f4916bb7fcf6cf4e5c658df6e (diff) | |
download | cwm-178643ac5ef7fc3d2dbf28352edb566daefee288.tar.gz |
Ensure the pointer stays within client bounds after a window 'snap' (to edge).
reported by Stefan Hagen.
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.166 2019/08/13 18:45:38 okan Exp $ + * $OpenBSD: kbfunc.c,v 1.167 2020/01/21 15:50:03 okan Exp $ */ #include <sys/types.h> @@ -322,6 +322,7 @@ kbfunc_client_snap(void *ctx, struct cargs *cargs) } } client_move(cc); + client_ptr_inbound(cc, 1); } void |