Save window geometry on close (linux)