Gnome switches input source for no reason

I code in manim a lot. in manim to render a scene you need to use when Im typing an animation, no matters which it switches the input source. It would be likeרןא( as you can see this is very annoying. Fresh install of fedora (yesterday) happened in Arch linux too so it’s prob a gnome problem. Tried to disable any other keyboard shortcut for input switching besides shift + alt. Thanks in advance, Ben.

Update: After some investigation I found that for some reason, both shift + alt and left_shift + right_shift are keyboard shortcuts for switching layouts. Why? This is stupid. Anyways, how do I disable this?