React to window resize in Linux.