It's good to have another Aussie user! Waiting for replies from elsewhere can take up to a day or more before getting responses. There are exceptions but I have learned to be patient... lol
Anyway... The problem at hand. You have probably read that the other Linux users (Q4OS -
https://q4os.org/) do not seem to have our problem. Lagging... hmm... Running on a Desktop or Laptop? (CPU and RAM for both) - Process of elimination to try and determine machine performance issue. Q4OS and Lubuntu or Xubuntu are setup to run on low resource (old) machines. Mint and Ubuntu are a little hungrier on the machines...
If you are running with Mint (that's me) or Ubuntu, the loss of focus on the IDE, maybe something we may have to live with. I still have not found a work-a-round. I do have QB64 (windows version) that runs through wine and just tested it now. Started QB64 and the IDE loaded ok. Deliberately moved the mouse away from the IDE and began typing just gibberish... Focus remained on the IDE and the gibberish entered onto the IDE...
Me personally, I prefer running native... I am not a fan of Micro$oft... Linux user since Ubuntu 5.10... ;) Have you been using Linux long or have you just recently 'converted'? Just curious...
It's after midnight and my last intake of caffeine seems to be wearing off. Time to hit the sack. We Melbourians have a low sleep threshold... NSW seems to generate a sturdier stock...
Goodnight.
J