# grid_cells_look_equal

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid.c#L246
- **Page:** https://libtmux.org/en/tmux/latest/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/latest/reference/c-function-grid_cells_equal/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid.c#L265)
- [`window_redraw_active_switch`](/en/tmux/latest/reference/c-function-window_redraw_active_switch/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L594)

## Referenced by

- [`input_c0_dispatch`](/en/tmux/latest/reference/c-function-input-c-input_c0_dispatch/) (function)
- [`tty_draw_line`](/en/tmux/latest/reference/c-function-tty_draw_line/) (function)

## Referenced declarations

- [`grid_cell.attr`](/en/tmux/latest/reference/c-struct-grid_cell-attr/) (attribute)
- [`grid_cell.bg`](/en/tmux/latest/reference/c-struct-grid_cell-bg/) (attribute)
- [`grid_cell.fg`](/en/tmux/latest/reference/c-struct-grid_cell-fg/) (attribute)
- [`grid_cell.flags`](/en/tmux/latest/reference/c-struct-grid_cell-flags/) (attribute)
- [`grid_cell`](/en/tmux/latest/reference/c-struct-grid_cell/) (struct)
- [`GRID_FLAG_CLEARED`](/en/tmux/latest/reference/c-define-tmux-h-grid_flag_cleared/) (constant)
- [`grid_cell.link`](/en/tmux/latest/reference/c-struct-grid_cell-link/) (attribute)
