Fixes: https://codeberg.org/dwl/dwl/issues/680 (cherry picked from commit a634e3f527001cd2e2b7bc21bb14c1b7351f60bd)
F6CCQHYRDBK23T5SG3VGCSAQEO3IWELXG5BYFM4ZPOHNIUNEHGQAC
6ONXDSBPMF6BNGDGNSSNHJ4CN6FWKFOP7YQGMAJFTIAZSUITZG2QC
7B74AT3BXYB7PVW4F6SGQNPMHOU5TEV5TZ54CG6VSQI46XSEKWXQC
struct wlr_pointer pointer = event->new_pointer->pointer;
struct wlr_input_device *device = &event->new_pointer->pointer.base;
wlr_cursor_attach_input_device(cursor, &pointer.base);
wlr_cursor_attach_input_device(cursor, device);
wlr_cursor_map_input_to_output(cursor, &pointer.base, event->suggested_output);
wlr_cursor_map_input_to_output(cursor, device, event->suggested_output);