mirror of
https://github.com/tmux/tmux.git
synced 2026-10-07 01:55:49 +00:00
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master: Add some additional simple events. fix window_copy_mouse_in_selection() indentation; ok nicm@ Work out a single layout for the entire prompt so it can all be drawn together, fixes centered prompts. GitHub issue 5328. Allow drag on a selection to modify it, from Michael Grant. Make split-window inside a floating pane work more nicely and not immediately create an overlapping pane, from Dane Jensen. Set other cell when creating layout set, from Dane Jensen. Size comparison should be >= not >, from Yayo Razo. Remove worflow from master
This commit is contained in:
6
spawn.c
6
spawn.c
@@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: spawn.c,v 1.47 2026/07/10 13:38:45 nicm Exp $ */
|
||||
/* $OpenBSD: spawn.c,v 1.48 2026/07/13 13:01:14 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2019 Nicholas Marriott <nicholas.marriott@gmail.com>
|
||||
@@ -229,8 +229,10 @@ spawn_window(struct spawn_context *sc, char **cause)
|
||||
session_select(s, sc->wl->idx);
|
||||
|
||||
/* Fire notification if new window. */
|
||||
if (~sc->flags & SPAWN_RESPAWN)
|
||||
if (~sc->flags & SPAWN_RESPAWN) {
|
||||
events_fire_window("window-created", w);
|
||||
events_fire_winlink("window-linked", sc->wl);
|
||||
}
|
||||
|
||||
session_group_synchronize_from(s);
|
||||
return (sc->wl);
|
||||
|
||||
Reference in New Issue
Block a user