Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'

* refs/remotes/tmux-openbsd/master:
  The client for the layout format is the client we are sending it to, not the target client.
This commit is contained in:
tmux update bot
2026-09-08 21:40:59 +00:00

View File

@@ -1,4 +1,4 @@
/* $OpenBSD: format.c,v 1.416 2026/09/08 10:20:08 nicm Exp $ */
/* $OpenBSD: format.c,v 1.417 2026/09/08 15:42:26 nicm Exp $ */
/*
* Copyright (c) 2011 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -855,7 +855,7 @@ format_cb_window_active_clients_list(struct format_tree *ft)
static void *
format_cb_window_layout(struct format_tree *ft)
{
struct client *c = ft->c;
struct client *c = ft->client;
struct window *w = ft->w;
struct layout_cell *lcroot;
int flags = 0;
@@ -879,7 +879,7 @@ format_cb_window_layout(struct format_tree *ft)
static void *
format_cb_window_visible_layout(struct format_tree *ft)
{
struct client *c = ft->c;
struct client *c = ft->client;
struct window *w = ft->w;
int flags = 0;