We need to update the input shape; otherwise it won't be possible to resize X11 windows without bottom and side borders. (cherry picked from commit 33cf87f0)