glw/x11: Fix an incorrectly setup subscription
Fix 'use after free'