fix urgent window icons
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user