summaryrefslogtreecommitdiffstats
path: root/src/blueshift_randr_c.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-01 12:37:14 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-01 12:37:20 +0200
commit0ab50d5887cb94138239bb1991b86adcabe3c3d2 (patch)
treebbac43b8dd5f35d10637c5aa8b74e29f5e011274 /src/blueshift_randr_c.c
parentRANDR => RandR (diff)
downloadblueshift-0ab50d5887cb94138239bb1991b86adcabe3c3d2.tar.gz
blueshift-0ab50d5887cb94138239bb1991b86adcabe3c3d2.tar.bz2
blueshift-0ab50d5887cb94138239bb1991b86adcabe3c3d2.tar.xz
enable more warnings and add .h files
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/blueshift_randr_c.c')
-rw-r--r--src/blueshift_randr_c.c39
1 files changed, 1 insertions, 38 deletions
diff --git a/src/blueshift_randr_c.c b/src/blueshift_randr_c.c
index ef3c2a5..ddc19b9 100644
--- a/src/blueshift_randr_c.c
+++ b/src/blueshift_randr_c.c
@@ -14,44 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <stdlib.h>
-#include <stdio.h>
-#include <inttypes.h>
-
-#include <xcb/xcb.h>
-#include <xcb/randr.h>
-
-
-
-/**
- * The major version of RandR the program expects
- */
-#define RANDR_VERSION_MAJOR 1U
-
-/**
- * The minor version of RandR the program expects
- */
-#define RANDR_VERSION_MINOR 3U
-
-
-
-/**
- * Data structure for CRTC caches
- */
-typedef struct blueshift_randr_crtc
-{
- /**
- * Size of colour curves on the X-axis
- */
- unsigned int curve_size;
-
- /**
- * CRT controller
- */
- xcb_randr_crtc_t* crtc;
-
-} blueshift_randr_crtc_t;
-
+#include "blueshift_randr_c.h"
/**