X11: fix toggle-fullscreen option functionality
Revert "X11: fix toggle-fullscreen option functionality"

This reverts commit 0c84c81401c041a249834c07b8f953d5b4dcabc5.
X11: fix toggle-fullscreen option functionality
Merge pull request #2044 from RonYaari/master

X11: fix toggle-fullscreen option functionality