diff options
author | okan <okan> | 2014-02-03 21:07:47 +0000 |
---|---|---|
committer | okan <okan> | 2014-02-03 21:07:47 +0000 |
commit | 8653141b4b5d76bd7238003cf43034681c7724a4 (patch) | |
tree | badc1a0d327780d82348bdb498db6d3e958267e8 /calmwm.h | |
parent | b923524a8e637141c0c832f6c8989ee600b67946 (diff) | |
parent | f793964c9ec586b9c4b4843c14bc83afaf275cb4 (diff) | |
download | cwm-8653141b4b5d76bd7238003cf43034681c7724a4.tar.gz cwm-8653141b4b5d76bd7238003cf43034681c7724a4.tar.xz cwm-8653141b4b5d76bd7238003cf43034681c7724a4.zip |
cvsimport
Diffstat (limited to 'calmwm.h')
-rw-r--r-- | calmwm.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/calmwm.h b/calmwm.h index 4b7b98d..6026206 100644 --- a/calmwm.h +++ b/calmwm.h @@ -230,6 +230,13 @@ struct autogroupwin { }; TAILQ_HEAD(autogroupwin_q, autogroupwin); +struct region_ctx { + TAILQ_ENTRY(region_ctx) entry; + int num; + struct geom area; +}; +TAILQ_HEAD(region_ctx_q, region_ctx); + struct screen_ctx { TAILQ_ENTRY(screen_ctx) entry; int which; @@ -241,11 +248,10 @@ struct screen_ctx { struct geom work; /* workable area, gap-applied */ struct gap gap; struct cycle_entry_q mruq; + struct region_ctx_q regionq; XftColor xftcolor[CWM_COLOR_NITEMS]; XftDraw *xftdraw; XftFont *xftfont; - int xinerama_no; - XineramaScreenInfo *xinerama; #define CALMWM_NGROUPS 10 struct group_ctx groups[CALMWM_NGROUPS]; struct group_ctx_q groupq; @@ -395,7 +401,7 @@ void client_map(struct client_ctx *); void client_maximize(struct client_ctx *); void client_msg(struct client_ctx *, Atom, Time); void client_move(struct client_ctx *); -struct client_ctx *client_init(Window, struct screen_ctx *, int); +struct client_ctx *client_init(Window, struct screen_ctx *); void client_ptrsave(struct client_ctx *); void client_ptrwarp(struct client_ctx *); void client_raise(struct client_ctx *); |