Attempt to fix right-click user windows

This commit is contained in:
2026-01-31 15:38:02 +00:00
parent 8fe4df8fb0
commit ff3f1fc97a
2 changed files with 7 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ func createTab(jid string, isMuc bool) {
}
}
func switchToTab(jid string) {
func switchToTab(jid string, w *gtk.Window) {
current = jid
tab, ok := tabs.Load(current)
if !ok {
@@ -145,6 +145,7 @@ func switchToTab(jid string) {
}()
win.SetChild(profile_box)
win.SetTransientFor(win)
win.Present()
})
userbox.AddController(gesture)