summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk3
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2023-03-24 11:30:05 +0000
committerCaolán McNamara <caolanm@redhat.com>2023-03-25 10:07:22 +0000
commit873ec89d20f7a6a8d6d9003d159eb68053c626ff (patch)
treec8bf82cf7e1651e7c4e49f8bd1cee4d3bfa2e96c /vcl/unx/gtk3
parent5d86cc81fef7d538440c630a503a5d94c6a3be4c (diff)
Related: tdf#153628 too many "Activate" calls with gtk
for container_focus_changed (as documented) we only want notifications for focus entering a child of the container and focus lost to some widget not in the container, not movement within the container has-toplevel-focus is sufficient for this for GtkWindow (GtkDialog) and we should omit the GtkContainer set-focus-child callback when using the GtkWindow has-toplevel-focus Change-Id: Id5e86b8035fd578b61c8869b91e6097b015ec411 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149539 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/unx/gtk3')
-rw-r--r--vcl/unx/gtk3/gtkinst.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx
index 5fe9ff9779fe..575abd64d82e 100644
--- a/vcl/unx/gtk3/gtkinst.cxx
+++ b/vcl/unx/gtk3/gtkinst.cxx
@@ -6524,7 +6524,7 @@ public:
{
if (!m_nToplevelFocusChangedSignalId)
m_nToplevelFocusChangedSignalId = g_signal_connect(m_pWindow, "notify::has-toplevel-focus", G_CALLBACK(signalToplevelFocusChanged), this);
- GtkInstanceContainer::connect_container_focus_changed(rLink);
+ weld::Container::connect_container_focus_changed(rLink);
}
virtual void disable_notify_events() override