summaryrefslogtreecommitdiff
path: root/xcb.c
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2015-08-11 21:50:42 +0200
committerMichael Stapelberg <michael@stapelberg.de>2015-08-11 21:50:42 +0200
commit929e541fb78aa167fc52eb684d4fdff8b305b246 (patch)
tree44365afd51bc1c8e14766b5bf5e7cabece105a10 /xcb.c
parentc5bb1d55e00df320033469eceb81ec03d8a52d80 (diff)
Remove DPMS support in favor of a wrapper script and xset(1).
fixes #32
Diffstat (limited to 'xcb.c')
-rw-r--r--xcb.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/xcb.c b/xcb.c
index e3a33b8..f1a9a76 100644
--- a/xcb.c
+++ b/xcb.c
@@ -10,7 +10,6 @@
#include <xcb/xcb.h>
#include <xcb/xcb_image.h>
#include <xcb/xcb_atom.h>
-#include <xcb/dpms.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
@@ -155,16 +154,6 @@ xcb_window_t open_fullscreen_window(xcb_connection_t *conn, xcb_screen_t *scr, c
}
/*
- * Set the dpms level to 'mode'.
- *
- */
-void dpms_set_mode(xcb_connection_t *conn, xcb_dpms_dpms_mode_t mode) {
- xcb_dpms_enable(conn);
- xcb_dpms_force_level(conn, mode);
- xcb_flush(conn);
-}
-
-/*
* Repeatedly tries to grab pointer and keyboard (up to 1000 times).
*
*/