From e416374c96c398f9e77363ea06f26d0fd86b75bc Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Sun, 3 Jun 2007 00:57:11 +0000 Subject: [PATCH] (discard_mouse_events): Add GPM_CLICK_EVENT case. --- src/keyboard.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/keyboard.c b/src/keyboard.c index 420b422c518..ab2d50ad0ea 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -3917,6 +3917,9 @@ discard_mouse_events () || sp->kind == WHEEL_EVENT #ifdef WINDOWSNT || sp->kind == W32_SCROLL_BAR_CLICK_EVENT +#endif +#ifdef HAVE_GPM + || sp->kind == GPM_CLICK_EVENT #endif || sp->kind == SCROLL_BAR_CLICK_EVENT) { -- 2.39.2