Use correct class for window types

Signed-off-by: Simon Busch <morphis@gravedo.de>