From bf29c44d9fa7bbc11fd68824c2468d4946ea29a6 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Tue, 21 May 2024 14:43:16 -0400 Subject: [PATCH] mention overlay passthrough --- src/components/channellist/classic/guildlist.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/channellist/classic/guildlist.cpp b/src/components/channellist/classic/guildlist.cpp index 17cd79a..6bee484 100644 --- a/src/components/channellist/classic/guildlist.cpp +++ b/src/components/channellist/classic/guildlist.cpp @@ -99,6 +99,10 @@ static Gtk::Widget *AddMentionOverlay(Gtk::Widget *widget, Snowflake guild_id) { overlay->add(*widget); auto *mention_overlay = Gtk::make_managed(guild_id); overlay->add_overlay(*mention_overlay); + overlay->set_overlay_pass_through(*mention_overlay, true); + mention_overlay->signal_realize().connect([mention_overlay]() { + mention_overlay->get_window()->set_pass_through(true); + }); overlay->show_all(); return overlay; }