Dragging outside the window leaves a key in pressed state
To reproduce: focus an entry, and drag up into the application window. The last key touched remains in pressed state (blue), but more importantly keeps emitting key presses.
We need to listen on 'leave-notify-event' from GtkWidget, unset the pressed key.
Edited by Hysterical Raisins