From cd180f924225eadf5093fc075e09e7ffbf8aa546 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Thu, 14 Jun 2012 17:22:47 +0100 Subject: After handling a mouseclick on a form field, stop processing. This is important, otherwise we can get into an unexpected state and subsequent mouse moves appear as pans. --- apps/pdfapp.c | 1 + 1 file changed, 1 insertion(+) (limited to 'apps') diff --git a/apps/pdfapp.c b/apps/pdfapp.c index 34a88598..de08a1ce 100644 --- a/apps/pdfapp.c +++ b/apps/pdfapp.c @@ -1037,6 +1037,7 @@ void pdfapp_onmouse(pdfapp_t *app, int x, int y, int btn, int modifiers, int sta app->nowaitcursor = 1; pdfapp_showpage(app, 1, 1, 1); app->nowaitcursor = 0; + return; } } -- cgit v1.2.3