Skip to content

Commit

Permalink
Reinitialize NSRunningApplication at EVENT_HANDLER_APPLICATION_LAUNCH…
Browse files Browse the repository at this point in the history
…ED time, Fixes koekeishiya#920
  • Loading branch information
donaldguy committed Jul 23, 2021
1 parent c91a32f commit 48a2533
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ static void window_did_receive_focus(struct window_manager *wm, struct mouse_sta
static EVENT_CALLBACK(EVENT_HANDLER_APPLICATION_LAUNCHED)
{
struct process *process = context;
process->ns_application = workspace_application_create_running_ns_application(process);

if (process->terminated) {
debug("%s: %s (%d) terminated during launch\n", __FUNCTION__, process->name, process->pid);
Expand Down

0 comments on commit 48a2533

Please sign in to comment.