* Add temporary fix for #2808 by adding nullptr check. * Remove redundency.
move to our own xdgoutput impl instead of wlr's