mirror of
https://github.com/mintycube/slock.git
synced 2024-10-22 14:05:51 +02:00
9 lines
214 B
C
9 lines
214 B
C
#include <X11/extensions/dpms.h>
|
|
|
|
static void
|
|
monitorreset(Display* dpy, CARD16 standby, CARD16 suspend, CARD16 off)
|
|
{
|
|
DPMSSetTimeouts(dpy, standby, suspend, off);
|
|
DPMSForceLevel(dpy, DPMSModeOn);
|
|
XFlush(dpy);
|
|
} |