listbase: Only grab_focus() if the cursor moved
authorBenjamin Otte <otte@redhat.com>
Tue, 21 Mar 2023 12:47:24 +0000 (13:47 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 23 Mar 2023 03:45:03 +0000 (04:45 +0100)
commitfa7a5773d464c48c43a6c1306822824169c2a03b
treeee622e5547e230a8bf4d2622802355157a3a6ccd
parent7285830dfb21a385e146400b36a1f5b7963a2c9f
listbase: Only grab_focus() if the cursor moved

If there is no movement, grab_focus() on the already focused widget
just causes weird inconsistencies and we don't want those.
gtk/gtklistbase.c