Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Backend/App.vala
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public class Slingshot.Backend.App : Object {
launched (this); // Emit launched signal

var context = Gdk.Display.get_default ().get_app_launch_context ();
context.set_timestamp (Gtk.get_current_event_time ());
context.set_timestamp (Gdk.CURRENT_TIME);
switcheroo_control.apply_gpu_environment (context, prefers_default_gpu);

new DesktopAppInfo (desktop_id).launch (null, context);
Expand Down
2 changes: 1 addition & 1 deletion src/synapse-plugins/desktop-file-plugin.vala
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ namespace Synapse {

public override void execute (Match? match) {
var context = Gdk.Display.get_default ().get_app_launch_context ();
context.set_timestamp (Gtk.get_current_event_time ());
context.set_timestamp (Gdk.CURRENT_TIME);
((DesktopAppInfo) app_info).launch_action (action_name, context);
}
}
Expand Down