diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-09-27 00:36:11 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-09-27 00:36:11 -0400 |
commit | 0571a05497ff628ceba8c7752dc3dd4104b1e0ea (patch) | |
tree | 0f145ca323b88dc6300a6a2077312d57beef4697 /src/windows/profilewindow.cpp | |
parent | 90437de2c031f6cf0b58603d9cb5582064176374 (diff) | |
parent | 3027e00905b19282a4f501a26f7a4f71bc6940ea (diff) | |
download | abaddon-portaudio-0571a05497ff628ceba8c7752dc3dd4104b1e0ea.tar.gz abaddon-portaudio-0571a05497ff628ceba8c7752dc3dd4104b1e0ea.zip |
Merge branch 'master' into voice
Diffstat (limited to 'src/windows/profilewindow.cpp')
-rw-r--r-- | src/windows/profilewindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/windows/profilewindow.cpp b/src/windows/profilewindow.cpp index aff98c5..d73731d 100644 --- a/src/windows/profilewindow.cpp +++ b/src/windows/profilewindow.cpp @@ -34,8 +34,8 @@ ProfileWindow::ProfileWindow(Snowflake user_id) if (user.HasAvatar()) AddPointerCursor(m_avatar_ev); - m_avatar_ev.signal_button_press_event().connect([user](GdkEventButton *event) -> bool { - if (event->type == GDK_BUTTON_PRESS && event->button == GDK_BUTTON_PRIMARY) { + m_avatar_ev.signal_button_release_event().connect([user](GdkEventButton *event) -> bool { + if (event->type == GDK_BUTTON_RELEASE && event->button == GDK_BUTTON_PRIMARY) { if (user.HasAnimatedAvatar()) LaunchBrowser(user.GetAvatarURL("gif", "512")); else |