The device and window passed to gdk_device_grab() must be on the same display, or things are unlikely to work. Document and assert this.
abe7187 Add another multi-device invariant
gdk/gdkdevice.c | 3 +++
1 file changed, 3 insertions(+)
Upstream: git.gnome.org