<commit_before>/*
 * (C)opyright MMIV-MMV <NAME> <<EMAIL> at <EMAIL> dot <EMAIL>>
 * See LICENSE file for license details.
 */

#include <stdio.h>
#include <X11/Xutil.h>

#include "wmii.h"

/* array indexes of page file pointers */
enum {
	P_PREFIX,
	P_NAME,
	P_AREA_PREFIX,
	P_SEL_AREA,
	P_CTL,
	P_LAST
};

/* array indexes of area file pointers */
enum {
	A_PREFIX,
	A_FRAME_PREFIX,
	A_SEL_FRAME,
	A_CTL,
	A_GEOMETRY,
	A_LAYOUT,
	A_LAST
};

/* array indexes of frame file pointers */
enum {
	F_PREFIX,
	F_CLIENT_PREFIX,
	F_SEL_CLIENT,
	F_CTL,
	F_GEOMETRY,
	F_BORDER,
	F_TAB,
	F_HANDLE_INC,
	F_LOCKED,
	F_SEL_BG_COLOR,
	F_SEL_FG_COLOR,
	F_SEL_BORDER_COLOR,
	F_NORM_BG_COLOR,
	F_NORM_FG_COLOR,
	F_NORM_BORDER_COLOR,
	F_EVENT_B2PRESS,
	F_EVENT_B3PRESS,
	F_EVENT_B4PRESS,
	F_EVENT_B5PRESS,
	F_LAST
};

/* array indexes of client file pointers */
enum {
	C_PREFIX,
	C_NAME,
	C_LAST
};

/* array indexes of wm file pointers */
enum {
	WM_CTL,
	WM_DETACHED_FRAME,
	WM_DETACHED_CLIENT,
	WM_TRANS_COLOR,
	WM_SEL_BG_COLOR,
	WM_SEL_BORDER_COLOR,
	WM_SEL_FG_COLOR,
	WM_NORM_BG_COLOR,
	WM_NORM_BORDER_COLOR,
	WM_NORM_FG_COLOR,
	WM_FONT,
	WM_PAGE_GEOMETRY,
	WM_BORDER,
	WM_TAB,
	WM_HANDLE_INC,
	WM_LOCKED,
	WM_SNAP_VALUE,
	WM_SEL_PAGE,
	WM_LAYOUT,
	WM_EVENT_PAGE_UPDATE,
	WM_EVENT_CLIENT_UPDATE,
	WM_EVENT_B1PRESS,
	WM_EVENT_B2PRESS,
	WM_EVENT_B3PRESS,
	WM_EVENT_B4PRESS,
	WM_EVENT_B5PRESS,
	WM_LAST
};

#define PROTO_DEL              1
#define BORDER_WIDTH           1
#define LAYOUT                 "column"
#define GAP 5

#define ROOT_MASK              (SubstructureRedirectMask | SubstructureNotifyMask | ButtonPressMask | ButtonReleaseMask)
#define CLIENT_MASK            (SubstructureNotifyMask | PropertyChangeMask | EnterWindowMask)

typedef struct Page Page;
typedef struct Layout Layout;
typedef struct Area Area;
typedef struct Frame Frame;<commit_msg>fixed some constants to be saner <commit_after>/*
 * (C)opyright MMIV-MMV <NAME> <garbeam at gmail dot com>
 * See LICENSE file for license details.
 */

#include <stdio.h>
#include <X11/Xutil.h>

#include "wmii.h"

/* array indexes of page file pointers */
enum {
	P_PREFIX,
	P_NAME,
	P_AREA_PREFIX,
	P_SEL_AREA,
	P_CTL,
	P_LAST
};

/* array indexes of area file pointers */
enum {
	A_PREFIX,
	A_FRAME_PREFIX,
	A_SEL_FRAME,
	A_CTL,
	A_GEOMETRY,
	A_LAYOUT,
	A_LAST
};

/* array indexes of frame file pointers */
enum {
	F_PREFIX,
	F_CLIENT_PREFIX,
	F_SEL_CLIENT,
	F_CTL,
	F_GEOMETRY,
	F_BORDER,
	F_TAB,
	F_HANDLE_INC,
	F_LOCKED,
	F_SEL_BG_COLOR,
	F_SEL_FG_COLOR,
	F_SEL_BORDER_COLOR,
	F_NORM_BG_COLOR,
	F_NORM_FG_COLOR,
	F_NORM_BORDER_COLOR,
	F_EVENT_B2PRESS,
	F_EVENT_B3PRESS,
	F_EVENT_B4PRESS,
	F_EVENT_B5PRESS,
	F_LAST
};

/* array indexes of client file pointers */
enum {
	C_PREFIX,
	C_NAME,
	C_LAST
};

/* array indexes of wm file pointers */
enum {
	WM_CTL,
	WM_DETACHED_FRAME,
	WM_DETACHED_CLIENT,
	WM_TRANS_COLOR,
	WM_SEL_BG_COLOR,
	WM_SEL_BORDER_COLOR,
	WM_SEL_FG_COLOR,
	WM_NORM_BG_COLOR,
	WM_NORM_BORDER_COLOR,
	WM_NORM_FG_COLOR,
	WM_FONT,
	WM_PAGE_GEOMETRY,
	WM_BORDER,
	WM_TAB,
	WM_HANDLE_INC,
	WM_LOCKED,
	WM_SNAP_VALUE,
	WM_SEL_PAGE,
	WM_LAYOUT,
	WM_EVENT_PAGE_UPDATE,
	WM_EVENT_CLIENT_UPDATE,
	WM_EVENT_B1PRESS,
	WM_EVENT_B2PRESS,
	WM_EVENT_B3PRESS,
	WM_EVENT_B4PRESS,
	WM_EVENT_B5PRESS,
	WM_LAST
};

#define PROTO_DEL              1
#define BORDER_WIDTH           3
#define LAYOUT                 "float"
#define GAP                    5

#define ROOT_MASK              (SubstructureRedirectMask | SubstructureNotifyMask | ButtonPressMask | ButtonReleaseMask)
#define CLIENT_MASK            (SubstructureNotifyMask | PropertyChangeMask | EnterWindowMask)

typedef struct Page Page;
typedef struct Layout Layout;
typedef struct Area Area;
typedef struct Frame Frame;
{'fraction_non_alphanumeric': 0.07873594001071238, 'fraction_numerical': 0.007498660953401178, 'mean_word_length': 4.26056338028169, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6217914', 'n_tokens_mistral': 1654, 'n_tokens_neox': 1579, 'n_words': 321}