ignore scroll, text selection events while unfocused

If we are unfocused, ignore scroll, text selection
events that we may still be receiving if user has not
released the pressed button.

Issue #943
3 jobs for 943-phantom-scroll-when-mouse-is-outside-of-window in 6 minutes and 46 seconds (queued for 3 seconds)
latest
Status Job ID Name Coverage
  Build
passed #84283
flatpak

00:06:45

manual #84282
allowed to fail manual
gtk-doc
passed #84281
master

00:04:55