# grid_cells_look_equal

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/grid.c#L228
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-grid_cells_look_equal/

```c
int grid_cells_look_equal(const struct grid_cell *gc1, const struct grid_cell *gc2)
```

## Parameters

- `gc1` (`const struct grid_cell *`)
- `gc2` (`const struct grid_cell *`)

## Called by

- [`grid_cells_equal`](/en/tmux/3.2a/reference/c-function-grid_cells_equal/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/grid.c#L241)
- [`window_redraw_active_switch`](/en/tmux/3.2a/reference/c-function-window_redraw_active_switch/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L504)

## Referenced by

- [`server_client_push_stderr`](/en/tmux/3.2a/reference/c-function-server_client_push_stderr/) (function)

## Referenced declarations

- [`grid_cell.attr`](/en/tmux/3.2a/reference/c-struct-grid_cell-attr/) (attribute)
- [`grid_cell.bg`](/en/tmux/3.2a/reference/c-struct-grid_cell-bg/) (attribute)
- [`grid_cell.fg`](/en/tmux/3.2a/reference/c-struct-grid_cell-fg/) (attribute)
- [`grid_cell.flags`](/en/tmux/3.2a/reference/c-struct-grid_cell-flags/) (attribute)
- [`grid_cell`](/en/tmux/3.2a/reference/c-struct-grid_cell/) (struct)
