client: X11 freezes when switching to fullscreen without restarting the video subsystem

Arch linux with mesa drivers:
 fatal IO error 11 (Resource temporarily unavailable) on X server ":0"