summaryrefslogtreecommitdiff
path: root/src/components/channellist/classic
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2024-05-21 14:43:16 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2024-05-21 14:43:16 -0400
commitbf29c44d9fa7bbc11fd68824c2468d4946ea29a6 (patch)
treed4c635ae071344390c5f76fec8a39662d5b25637 /src/components/channellist/classic
parent23621a50e6e8fd3b4fdceae2395a100970b4a20b (diff)
downloadabaddon-portaudio-bf29c44d9fa7bbc11fd68824c2468d4946ea29a6.tar.gz
abaddon-portaudio-bf29c44d9fa7bbc11fd68824c2468d4946ea29a6.zip
mention overlay passthrough
Diffstat (limited to 'src/components/channellist/classic')
-rw-r--r--src/components/channellist/classic/guildlist.cpp4
1 files changed, 4 insertions, 0 deletions
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<MentionOverlay>(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;
}