cvsimport
This commit is contained in:
31
calmwm.h
31
calmwm.h
@@ -95,6 +95,8 @@ size_t strlcat(char *, const char *, size_t);
|
||||
#define CWM_GAP 0x0001
|
||||
#define CWM_NOGAP 0x0002
|
||||
|
||||
#define CWM_WIN 0x0001
|
||||
|
||||
union arg {
|
||||
char *c;
|
||||
int i;
|
||||
@@ -259,7 +261,6 @@ struct keybinding {
|
||||
union arg argument;
|
||||
unsigned int modmask;
|
||||
KeySym keysym;
|
||||
#define KBFLAG_NEEDCLIENT 0x0001
|
||||
int flags;
|
||||
int argtype;
|
||||
};
|
||||
@@ -271,17 +272,15 @@ struct mousebinding {
|
||||
union arg argument;
|
||||
unsigned int modmask;
|
||||
unsigned int button;
|
||||
#define MOUSEBIND_CTX_ROOT 0x0001
|
||||
#define MOUSEBIND_CTX_WIN 0x0002
|
||||
int flags;
|
||||
};
|
||||
TAILQ_HEAD(mousebinding_q, mousebinding);
|
||||
|
||||
struct cmd {
|
||||
TAILQ_ENTRY(cmd) entry;
|
||||
char image[MAXPATHLEN];
|
||||
#define CMD_MAXLABELLEN 256
|
||||
char label[CMD_MAXLABELLEN];
|
||||
#define CMD_MAXNAMELEN 256
|
||||
char name[CMD_MAXNAMELEN];
|
||||
char path[MAXPATHLEN];
|
||||
};
|
||||
TAILQ_HEAD(cmd_q, cmd);
|
||||
|
||||
@@ -338,7 +337,7 @@ extern Time Last_Event_Time;
|
||||
extern struct screen_ctx_q Screenq;
|
||||
extern struct client_ctx_q Clientq;
|
||||
extern struct conf Conf;
|
||||
extern char *homedir;
|
||||
extern const char *homedir;
|
||||
extern int HasRandr, Randr_ev;
|
||||
|
||||
enum {
|
||||
@@ -507,8 +506,6 @@ void mousefunc_client_move(struct client_ctx *,
|
||||
union arg *);
|
||||
void mousefunc_client_raise(struct client_ctx *,
|
||||
union arg *);
|
||||
void mousefunc_client_rcyclegroup(struct client_ctx *,
|
||||
union arg *);
|
||||
void mousefunc_client_resize(struct client_ctx *,
|
||||
union arg *);
|
||||
void mousefunc_menu_cmd(struct client_ctx *, union arg *);
|
||||
@@ -517,25 +514,29 @@ void mousefunc_menu_unhide(struct client_ctx *,
|
||||
union arg *);
|
||||
|
||||
struct menu *menu_filter(struct screen_ctx *, struct menu_q *,
|
||||
char *, char *, int,
|
||||
const char *, const char *, int,
|
||||
void (*)(struct menu_q *, struct menu_q *, char *),
|
||||
void (*)(struct menu *, int));
|
||||
void menuq_add(struct menu_q *, void *, const char *, ...);
|
||||
void menuq_clear(struct menu_q *);
|
||||
|
||||
int parse_config(const char *, struct conf *);
|
||||
|
||||
void conf_atoms(void);
|
||||
void conf_autogroup(struct conf *, int, char *);
|
||||
void conf_bind_kbd(struct conf *, char *, char *);
|
||||
int conf_bind_mouse(struct conf *, char *, char *);
|
||||
void conf_autogroup(struct conf *, int, const char *);
|
||||
int conf_bind_kbd(struct conf *, const char *,
|
||||
const char *);
|
||||
int conf_bind_mouse(struct conf *, const char *,
|
||||
const char *);
|
||||
void conf_clear(struct conf *);
|
||||
void conf_client(struct client_ctx *);
|
||||
void conf_cmd_add(struct conf *, char *, char *);
|
||||
void conf_cmd_add(struct conf *, const char *,
|
||||
const char *);
|
||||
void conf_cursor(struct conf *);
|
||||
void conf_grab_kbd(Window);
|
||||
void conf_grab_mouse(Window);
|
||||
void conf_init(struct conf *);
|
||||
void conf_ignore(struct conf *, char *);
|
||||
void conf_ignore(struct conf *, const char *);
|
||||
void conf_screen(struct screen_ctx *);
|
||||
|
||||
void xev_loop(void);
|
||||
|
||||
Reference in New Issue
Block a user