Revert "X11: fix toggle-fullscreen option functionality"

This reverts commit 0c84c81401c041a249834c07b8f953d5b4dcabc5.
X11: fix toggle-fullscreen option functionality