This fixes a NULL pointer access when xwl_seat->pointer->deviceGrab.grab is NULL. Fixes #1169.
xwl_seat->pointer->deviceGrab.grab