resolve issue #3004
Merge pull request #3004 from nikolai-r/master

Fix return from fullscreen for linux/gnome not returning to previous size.