---
name: "DMXRemoveScreen"
section: "3"
platform: "linux"
package: "libdmx-dev"
version: "1:1.1.4-2"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/DMXRemoveScreen"
---

# DMXRemoveScreen(3)

detach a back-end screen

## NAME

DMXRemoveScreen - detach a back-end screen

## SYNOPSIS

**#include \<X11/extensions/dmxext.h\>**

```
Bool DMXRemoveScreen(Display *dpy,
                     int screen);
```

## DESCRIPTION

**DMXRemoveScreen()** detaches the back-end *screen* from the [**Xdmx**(1)](/Xdmx/1.md) server.

## RETURN VALUE

**DMXRemoveScreen()** returns **True** on success, and **False** if there were protocol errors, if the *-addremovescreens* command-line option was not specified on the [**Xdmx**(1)](/Xdmx/1.md) command line, if the value of *screen* is out of range, or if the back-end screen specified by *screen* has already been detached.

## SEE ALSO

[**DMXAddScreen**(3)](/DMXAddScreen/3.md),  [**DMX**(3)](/DMX/3.md), [**Xdmx**(1)](/Xdmx/1.md)
