One way to do it is just to plot the function, draw its projection about $y=x$ and find the intersections. But I've been trying to solve it more algebraically:
$$ \begin{align} f(x) & = f^{-1}(x) \\ f(f(x)) & = x \\ \sin(\sin(x)-x)-\sin(x) + x & = x \\ \sin(\sin(x)-x) & = \sin(x) \end{align} $$ Now, it is possible to just look at the equation here and see that the solution would be $x=n\pi$ where $n$ can be any integer, but that's not really rigorous, and doesn't prove that there is no other solution.
How should I proceed here?