GNOME Bugzilla – Bug 166779
gok mouse latching regressed
Last modified: 2005-02-09 14:20:40 UTC
run gok using an extended input device (e.g. XInput). Use the 'Mouse' keyboard's 'Pointer' command. Move the "gok pointer" outside the GOK window. expected behavior: core pointer warps to the gok pointer and follows the extended input device until it re-enters the GOK window. observed behavior: core pointer warps to gok pointer but almost immediately unlatches. This seems to have been caused by GDK "enter notify" events from "inferior"windows, i.e. the pointer moves from a child window into the containing GOK GtkWindow. This may be a regression caused by subtle behavioral changes in gtk+ as compared with the old gtk+ 2.2 series. Fix is to ignore enter-notify events from inferiors (and so-called "nonlinear virtual" enter-notify events) in this case. Fix on the way.
Created attachment 37235 [details] [review] patch to restore this functionality
Comment on attachment 37235 [details] [review] patch to restore this functionality Nice catch. I guess this should be added to our test battery.