Read rc.xml and begin parsing

This commit is contained in:
Johan Malm 2020-06-05 23:04:54 +01:00
parent fdc131049c
commit 6166e9b370
12 changed files with 227 additions and 7 deletions

View file

@ -34,7 +34,6 @@
#define XCURSOR_MOVE "grabbing"
#define XWL_TITLEBAR_HEIGHT (10)
#define XWL_WINDOW_BORDER (3)
#define LAB_DISABLE_CSD (0)
enum cursor_mode {
LAB_CURSOR_PASSTHROUGH,

17
include/rcxml.h Normal file
View file

@ -0,0 +1,17 @@
#ifndef RCXML_H
#define RCXML_H
#include <stdio.h>
#include <stdbool.h>
struct rcxml {
bool client_side_decorations;
};
extern struct rcxml rc;
void rcxml_init(struct rcxml *rc);
void rcxml_read(const char *filename);
void rcxml_set_verbose(void);
#endif /* RCXML_H */