Is this only a problem with x11 apps? If so, I'm a little surprised there's not a Wayland based build for Electron that'd make it easy to fix the issue for vscode?
Hm, looks like the branch/subproject in chrome is "ozone" and some work is ongoing there:
Hm, looks like the branch/subproject in chrome is "ozone" and some work is ongoing there:
https://github.com/electron/electron/issues/9056
https://github.com/Igalia/chromium/tree/ozone-wayland-dev