React to window resize in Linux.
Merge pull request #1463 from michalsrb/next

React to window resize in Linux.