File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,8 @@ WfMenuMenuItem::WfMenuMenuItem(WayfireMenu *_menu, Glib::RefPtr<Gio::DesktopAppI
118
118
menu_item->signal_activate ().connect (
119
119
[this , action] ()
120
120
{
121
- m_app_info->launch_action (action);
121
+ auto ctx = Gdk::Display::get_default ()->get_app_launch_context ();
122
+ m_app_info->launch_action (action, ctx);
122
123
menu->hide_menu ();
123
124
});
124
125
m_action_menu.append (*menu_item);
@@ -161,7 +162,8 @@ WfMenuMenuItem::WfMenuMenuItem(WayfireMenu *_menu, Glib::RefPtr<Gio::DesktopAppI
161
162
162
163
void WfMenuMenuItem::on_click ()
163
164
{
164
- m_app_info->launch (std::vector<Glib::RefPtr<Gio::File>>());
165
+ auto ctx = Gdk::Display::get_default ()->get_app_launch_context ();
166
+ m_app_info->launch (std::vector<Glib::RefPtr<Gio::File>>(), ctx);
165
167
menu->hide_menu ();
166
168
}
167
169
You can’t perform that action at this time.
0 commit comments