summaryrefslogtreecommitdiffstats
path: root/c2.h
diff options
context:
space:
mode:
authorRichard Grenville <pyxlcy@gmail.com>2013-06-19 19:36:48 +0800
committerRichard Grenville <pyxlcy@gmail.com>2013-06-19 19:36:48 +0800
commit1096bf90d96bc18a7e09fe5f26fa0c703f1fbdf8 (patch)
treeff452d09e30945f965888067fb8cfd0c19cd1005 /c2.h
parent0dca9aa79edbc5e2d665d9f65321adc32a595d2a (diff)
downloadtdebase-1096bf90d96bc18a7e09fe5f26fa0c703f1fbdf8.tar.gz
tdebase-1096bf90d96bc18a7e09fe5f26fa0c703f1fbdf8.zip
Misc: --paint-exclude & #119
- Add --paint-exclude to prevent certain windows from being painted, for debugging purposes. - Add predefined matching target "x", "y", "width", "height", "widthb", "heightb", "border_width", and "fullscreen". - Fix bug #119, wrong man page install dir in CMake configuration. Thanks to sstewartgallus for reporting.
Diffstat (limited to 'c2.h')
-rw-r--r--c2.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/c2.h b/c2.h
index b26a687de..e2ab38d83 100644
--- a/c2.h
+++ b/c2.h
@@ -99,6 +99,14 @@ struct _c2_l {
enum {
C2_L_PUNDEFINED,
C2_L_PID,
+ C2_L_PX,
+ C2_L_PY,
+ C2_L_PWIDTH,
+ C2_L_PHEIGHT,
+ C2_L_PWIDTHB,
+ C2_L_PHEIGHTB,
+ C2_L_PBDW,
+ C2_L_PFULLSCREEN,
C2_L_POVREDIR,
C2_L_PARGB,
C2_L_PFOCUSED,
@@ -177,6 +185,14 @@ typedef struct {
// Predefined targets.
const static c2_predef_t C2_PREDEFS[] = {
[C2_L_PID ] = { "id" , C2_L_TCARDINAL , 0 },
+ [C2_L_PX ] = { "x" , C2_L_TCARDINAL , 0 },
+ [C2_L_PY ] = { "y" , C2_L_TCARDINAL , 0 },
+ [C2_L_PWIDTH ] = { "width" , C2_L_TCARDINAL , 0 },
+ [C2_L_PHEIGHT ] = { "height" , C2_L_TCARDINAL , 0 },
+ [C2_L_PWIDTHB ] = { "widthb" , C2_L_TCARDINAL , 0 },
+ [C2_L_PHEIGHTB ] = { "heightb" , C2_L_TCARDINAL , 0 },
+ [C2_L_PBDW ] = { "border_width" , C2_L_TCARDINAL , 0 },
+ [C2_L_PFULLSCREEN ] = { "fullscreen" , C2_L_TCARDINAL , 0 },
[C2_L_POVREDIR ] = { "override_redirect" , C2_L_TCARDINAL , 0 },
[C2_L_PARGB ] = { "argb" , C2_L_TCARDINAL , 0 },
[C2_L_PFOCUSED ] = { "focused" , C2_L_TCARDINAL , 0 },