window.c: Fix compile/run using cairo without egl
2 files changed