Ensure the pointer stays within client bounds after a window 'snap' (to edge).
reported by Stefan Hagen.
This commit is contained in:
parent
553b461bdc
commit
9f969d0080
@ -15,7 +15,7 @@
|
|||||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* 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>
|
#include <sys/types.h>
|
||||||
@ -322,6 +322,7 @@ kbfunc_client_snap(void *ctx, struct cargs *cargs)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
client_move(cc);
|
client_move(cc);
|
||||||
|
client_ptr_inbound(cc, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user