fix urgent window icons

This commit is contained in:
2025-12-17 23:34:12 +01:00
parent 11ccd55a52
commit 9b0a036925
11 changed files with 172 additions and 194 deletions

View File

@@ -99,8 +99,8 @@ void TrayIconWidget::on_secondary_released(int /*n_press*/, double x,
return;
}
pendingX = x;
pendingY = y;
pendingX = x;
pendingY = y;
menuPopupPending = true;
try_popup();
}
@@ -125,7 +125,7 @@ bool TrayIconWidget::ensure_menu() {
const auto &layout = *layoutOpt;
auto menu = Gio::Menu::create();
auto menu = Gio::Menu::create();
auto actions = Gio::SimpleActionGroup::create();
populate_menu_items(layout.children, menu, actions);
@@ -138,7 +138,7 @@ bool TrayIconWidget::ensure_menu() {
return false;
}
menuModel = menu;
menuModel = menu;
menuActions = actions;
if (!menuPopover) {