Move sk_poll() inside (!gotevent), which is more logical but doesn't have
authorowen <owen@cda61777-01e9-0310-a592-d414129be87e>
Wed, 26 Jan 2005 19:05:50 +0000 (19:05 +0000)
committerowen <owen@cda61777-01e9-0310-a592-d414129be87e>
Wed, 26 Jan 2005 19:05:50 +0000 (19:05 +0000)
any actual beneficial effect on event handling, sadly.

git-svn-id: svn://svn.tartarus.org/sgt/putty@5214 cda61777-01e9-0310-a592-d414129be87e

mac/mac.c

index b7070c0..992f367 100644 (file)
--- a/mac/mac.c
+++ b/mac/mac.c
@@ -284,8 +284,8 @@ static void mac_eventloop(void) {
            if (borednow)
                cleanup_exit(0);
        }
-       sk_poll();
        if (!gotevent)
+           sk_poll();
            mac_pollterm();
        if (mac_gestalts.apprvers >= 0x100 && mac_frontwindow() != NULL)
            IdleControls(mac_frontwindow());