diff options
author | Christian Persch <chpe@src.gnome.org> | 2022-08-09 21:08:06 +0200 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2022-08-09 21:08:06 +0200 |
commit | d7b1da6f8203a732fdc850b991236708adc0d52f (patch) | |
tree | ac988fcf63f9cda762ddcd81b1b90cf7b32b0513 | |
parent | b51cc92ccae2b37ff6bb0acb8bf0a8dca19b3731 (diff) | |
download | vte-d7b1da6f8203a732fdc850b991236708adc0d52f.tar.gz |
widget: gtk4: Don't grab the focus on focus-in
https://gitlab.gnome.org/GNOME/vte/-/issues/2555
-rw-r--r-- | src/vte.cc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -6957,7 +6957,10 @@ void Terminal::widget_focus_in() { m_has_focus = true; + +#if VTE_GTK == 3 widget()->grab_focus(); +#endif /* We only have an IM context when we're realized, and there's not much * point to painting the cursor if we don't have a window. */ |