From upstream: 754b7feaa1. 1fa66ca45d didn't include the changes to `wl_window.c`.
754b7feaa1
1fa66ca45d