Fixed a segfault crash when trying to go fullscreen with some window managers (including xmonad). A one-line fix, should not have any detrimental side-effects.
Merge pull request #1029 from Louisvh/fullscreen-segfault-fix

Fixed a segfault crash when trying to go full-screen