wmii/libwmii/wmii.h

34 lines
914 B
C
Raw Normal View History

2005-11-18 18:54:58 +03:00
/*
* (C)opyright MMIV-MMV Anselm R. Garbe <garbeam at gmail dot com>
* See LICENSE file for license details.
*/
#include "ixp.h"
#include "blitz.h"
#define MAX_ID 20
#define MAX_BUF 128
typedef struct Action Action;
struct Action {
2005-12-21 18:18:11 +03:00
char *name;
void (*func) (void *obj, char *);
2005-11-18 18:54:58 +03:00
};
/* ixputil.c */
2005-12-05 01:45:59 +03:00
File *wmii_create_ixpfile(IXPServer * s, char *key, char *val);
void wmii_get_ixppath(File * f, char *path, size_t size);
void wmii_move_ixpfile(File * f, File * to_parent);
IXPServer *wmii_setup_server(char *sockfile);
2005-11-18 18:54:58 +03:00
/* spawn.c */
void wmii_spawn(void *dpy, char *cmd);
2005-11-18 18:54:58 +03:00
/* wm.c */
2005-12-21 18:18:11 +03:00
int wmii_property(Display * dpy, Window w, Atom a, Atom t, long l,
unsigned char **prop);
void wmii_send_message(Display * dpy, Window w, Atom a, long value);
void wmii_init_lock_modifiers(Display * dpy, unsigned int *valid_mask,
unsigned int *num_lock_mask);