Use LX_GRABSTATUS, not LX_XID, for grab stati. We got away with this before because they're both typedeffed to the same thing.