mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
Merge branch 'obsd-master'
This commit is contained in:
6
notify.c
6
notify.c
@ -78,8 +78,12 @@ notify_callback(struct cmdq_item *item, void *data)
|
||||
|
||||
log_debug("%s: %s", __func__, ne->name);
|
||||
|
||||
if (strcmp(ne->name, "pane-mode-changed") == 0)
|
||||
control_notify_pane_mode_changed(ne->pane);
|
||||
if (strcmp(ne->name, "window-layout-changed") == 0)
|
||||
control_notify_window_layout_changed(ne->window);
|
||||
if (strcmp(ne->name, "window-pane-changed") == 0)
|
||||
control_notify_window_pane_changed(ne->window);
|
||||
if (strcmp(ne->name, "window-unlinked") == 0)
|
||||
control_notify_window_unlinked(ne->session, ne->window);
|
||||
if (strcmp(ne->name, "window-linked") == 0)
|
||||
@ -94,6 +98,8 @@ notify_callback(struct cmdq_item *item, void *data)
|
||||
control_notify_session_created(ne->session);
|
||||
if (strcmp(ne->name, "session-closed") == 0)
|
||||
control_notify_session_closed(ne->session);
|
||||
if (strcmp(ne->name, "session-window-changed") == 0)
|
||||
control_notify_session_window_changed(ne->session);
|
||||
|
||||
notify_hook(item, ne);
|
||||
|
||||
|
Reference in New Issue
Block a user