Merge pull request #4814 from Alexays/copilot/fix-menu-freeze-issue

Fix menu freezing when launching applications
This commit is contained in:
Alexis Rouillard
2026-02-04 10:33:52 +01:00
committed by GitHub
2 changed files with 10 additions and 3 deletions

View File

@ -190,7 +190,7 @@ bool waybar::ALabel::handleToggle(GdkEventButton* const& e) {
}
void ALabel::handleGtkMenuEvent(GtkMenuItem* /*menuitem*/, gpointer data) {
waybar::util::command::res res = waybar::util::command::exec((char*)data, "GtkMenu");
waybar::util::command::forkExec((char*)data, "GtkMenu");
}
std::string ALabel::getState(uint8_t value, bool lesser) {