# LibTmux.Creation.WindowCollision

- **Package:** libtmux-haskell
- **Language:** Haskell
- **Kind:** data type
- **Source:** https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/src/LibTmux/Creation.hs#L75
- **Page:** https://libtmux.org/en/haskell/latest/reference/libtmux-creation-t-windowcollision/

```haskell
data WindowCollision
```

Occupied-slot policy for creation. Replacement removes the old link;
 other links can keep its physical window alive. Later failure can follow
 removal. Replacing the selected link can select the new window despite `-d`.

## Instances

- instance [Eq](https://hackage.haskell.org/package/base-4.22.0.0/docs/Data-Eq.html#t:Eq) [`WindowCollision`](/en/haskell/latest/reference/libtmux-creation-t-windowcollision/) ([Source](https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/src/LibTmux/Creation.hs#L76))

- instance [Show](https://hackage.haskell.org/package/base-4.22.0.0/docs/Prelude.html#t:Show) [`WindowCollision`](/en/haskell/latest/reference/libtmux-creation-t-windowcollision/) ([Source](https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/src/LibTmux/Creation.hs#L76))

## Members

### Common operations

- [`RefuseOccupied`](/en/haskell/latest/reference/libtmux-creation-v-refuseoccupied/) (data constructor)
- [`ReplaceOccupied`](/en/haskell/latest/reference/libtmux-creation-v-replaceoccupied/) (data constructor)

## Referenced declarations

- [`LibTmux.Creation.WindowCollision`](/en/haskell/latest/reference/libtmux-creation-t-windowcollision/) (data type)
