Skip to content

Commit

Permalink
pass correct display id for DISPLAY_REMOVED signal
Browse files Browse the repository at this point in the history
  • Loading branch information
koekeishiya committed Dec 25, 2020
1 parent 8c1ece8 commit 853093f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ static EVENT_CALLBACK(EVENT_HANDLER_DISPLAY_REMOVED)
uint32_t did = display_manager_main_display_id();
debug("%s: %d\n", __FUNCTION__, did);
window_manager_handle_display_add_and_remove(&g_space_manager, &g_window_manager, did);
event_signal_push(SIGNAL_DISPLAY_REMOVED, (void *)(intptr_t) did);
event_signal_push(SIGNAL_DISPLAY_REMOVED, context);
return EVENT_SUCCESS;
}

Expand Down

0 comments on commit 853093f

Please sign in to comment.