-
Nautilus assumes that the pointer returned by gdk_seat_get_pointer will return the same GdkDevice which started a rubberband action. This is not necessarily the case, however. Under Wayland, for example, tablet tools have pointers (and GdkDevice's) which are entirely separate from the seat's primary mouse-driven pointer. Attempting to use a pen to perform rubberband selection will result in the rectangle being drawn with the incorrect coordinates. This patch has the code store the GdkDevice which generated the event and provides it in place of the call to gdk_seat_get_pointer. https://bugzilla.gnome.org/show_bug.cgi?id=783797
ee67066c