This works fine for me, but whenever I use the push to talk button on my mouse, it switches the current window back to Discord. If I close discord so that it's only visible in the system tray, then it works perfectly and remains in the other application.
Obviously not a big issue since the workaround is quite simple, but is this the expected behaviour?
OS:
Ubuntu 24.04
Discord:0.0.66 (flatpak)
Key config:sudo ./push-to-talk -k BTN_EXTRA -n MOUSE9 /dev/input/by-id/usb-BenQ_ZOWIE_BenQ_ZOWIE_Gaming_Mouse-event-mouse
This works fine for me, but whenever I use the push to talk button on my mouse, it switches the current window back to Discord. If I close discord so that it's only visible in the system tray, then it works perfectly and remains in the other application.
Obviously not a big issue since the workaround is quite simple, but is this the expected behaviour?