It may be a fluke, but I think I've found a solution. I had the same problem on Windows 10 however, I thought it was because I was running dual monitors. I tried switching to "PC Screen Only" but still had the issue... this is what worked for me:
find minecraft in the start panel
Right Click the app
open "app settings"
under app permissions:
turn "background apps" off:
tadaa.
It may be a fluke, but I think I've found a solution. I had the same problem on Windows 10 however, I thought it was because I was running dual monitors. I tried switching to "PC Screen Only" but still had the issue... this is what worked for me:
find minecraft in the start panel
Right Click the app
open "app settings"
under app permissions:
turn "background apps" off:
[media]tadaa.