Hello. I have an application that display elements on top of the other applications including games. I use
window.setAlwaysOnTop(true, "screen-saver") for that. Then FPS of game (I tested on RDR2, League of Legends) randomly locked to 45. Sometimes this happens after pressing Alt+Tab. I found out that this is due to Electron, because after exiting the APP, the FPS unlocked. What can I do to fix?
CPU: AMD Ryzen 5 3600
GPU: RTX 2060 Super
RAM: 16 GB