device: Move error trap/push closer to X11 grabs
As we already do an error trap/push with X11 core devices, do the same
with Xi2 grabs and remove the check from the callers as it is not needed
anymore.
Signed-off-by:
Olivier Fourdan <fourdan@xfce.org>
Loading