I have a Java/Processing app that I am developing on my Lenovo T490 laptop running Ubuntu 24.04 LTS.
I have the canvas size set in the settings
method to 416x416px
On the laptop’s screen, the drawable canvas is 416x416, which is correct.
However, when I connect my external monitor via HDMI, the total window size is 416x416, meaning the canvas is shorter than it should be because the menubar subtracts from the canvas height!
How do I fix this issue?