summaryrefslogtreecommitdiff
path: root/include/types.h
blob: 5994d7dc5b9ac86f05f634f197750107417a0419 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// vim:ts=4:sw=4:expandtab
#pragma once

typedef struct match_t {
    char *name;
    int len;
} match_t;

typedef struct ignore_buttons_t {
    unsigned char count;
    unsigned int *buttons;
} ignore_buttons_t;

typedef struct Config {
    long timeout;
    long jitter;
    bool exclude_root;
    bool ignore_scrolling;
    ignore_buttons_t ignore_buttons;
    bool fork;
    bool debug;
    bool onescreen;
    bool ignore_matches;
    match_t *matches;
} Config;

typedef struct coordinates_t {
    int x;
    int y;
} coordinates_t;