This sounds like what my system does as well, but I made I do it intentionally. It's a KWin scrip called Autocompose. Does endeavor ship it by default?
It is caused by the KDE compositor turning off to re-direct GPU resources to the game. With the compositor off, stuff like discord or firefox on the second monitor will sometimes blank out as the compositor is no-longer working to, you know, composite the desktop.
This is not a major problem. If I want something like youtube on my second monitor, I've taken to using the play/pause button on my keyboard to toggle playback of the video, this wakes the second screen back up for me, without turning on compositing and trading in fps.
If this is the issue you are experiencing:
You can toggle compositing with ctrl+alt+f12
You could disable the automated compositor toggling, the extension that enables the feature can be found among the installed kwin scripts. This will negatively impact framerates, and especially frametimes.