[42] window: Type check some wm functions
These might get called from JS, so avoid crashing on bogus calls.
Closes: gnome-shell#5952 (closed) Part-of: !2661 (merged)
(cherry picked from commit a331d4e4)
These might get called from JS, so avoid crashing on bogus calls.
Closes: gnome-shell#5952 (closed) Part-of: !2661 (merged)
(cherry picked from commit a331d4e4)