Safari doesn't respond to clicks
I don't usually use Safari so I don't know if this is a new problem or if it always has been like that. Safari starts normally but when I try to click on it I just get the *beep* sound you get when you give invalid input. I can do some things using the keyboard, for example I can [tab] to get the address bar focused and enter an URL to open a website but I can't use my mouse to click on the address bar.
There is also no way to quit Safari without using a process manager. "Quit Safari" in the tool bar is grayed out, [cmd]+Q doesn't work, clicking on the red X of the window only *beep*s.
I already tried deleting the cache folder as proposed in a pretty old discussion.
MacBook Pro 13", macOS 10.14