DPMSDisable(3) X Version 11 DPMSDisable(3)

# [NAME](#NAME)

DPMSDisable - disables DPMS on the specified display

# [SYNOPSIS](#SYNOPSIS)

```
cc [ flag ... ] file ... -lXext [ library ... ]
#include <X11/extensions/dpms.h>

Status DPMSDisable ( Display *display );
```

# [ARGUMENTS](#ARGUMENTS)

[*display*](#display)

Specifies the connection to the X server

# [DESCRIPTION](#DESCRIPTION)

The **DPMSDisable** function disables Display Power Management Signaling (DPMS) on the specified *display*. When disabled, DPMS sets the display to DPMSModeOn. If **DPMSDisable** is invoked on a display with DPMS already disabled or on a display which does not support DPMS, no change is made and no error is returned.

# [RETURN VALUES](#RETURN_VALUES)

[**TRUE**](#TRUE)

The **DPMSDisable** function always returns TRUE.

# [SEE ALSO](#SEE_ALSO)

[**DPMSCapable**(3)](/man/os/libxext/DPMSCapable.3), [**DPMSEnable**(3)](/man/os/libxext/DPMSEnable.3)

2005-06-28 libXext 1.3.7

---

Document: DPMSDisable(3) from libxext 1.3.7-r5 (Chainguard OS)
Source: https://gitlab.freedesktop.org/xorg/lib/libxext.git
