]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Magic mouse uncapture only if no buttons pressed.
authorToni Wilen <twilen@winuae.net>
Sat, 6 Oct 2018 15:42:35 +0000 (18:42 +0300)
committerToni Wilen <twilen@winuae.net>
Sat, 6 Oct 2018 15:42:35 +0000 (18:42 +0300)
inputdevice.cpp

index e3c4abbb86318bbdaa39171afbd2cbeacd478d6a..817242d972b118df4a862e5341347ee34cfed6a7 100644 (file)
@@ -2836,6 +2836,8 @@ static int mouseedge(int monid)
                return 0;
        if (magicmouse_ibase == 0xffffffff)
                return 0;
+       if (joybutton[0] || joybutton[1])
+               return 0;
        dir = 0;
        if (!mouseedge_time) {
                isnonzero = 0;