summaryrefslogtreecommitdiffstats
path: root/c2.c
diff options
context:
space:
mode:
authorRichard Grenville <[email protected]>2013-07-30 22:24:11 +0800
committerRichard Grenville <[email protected]>2013-07-30 22:24:11 +0800
commit8f6c2d89ea6883d5cee95cfeb83618c5c11cbf12 (patch)
tree07824143cff1f36fe618a6d949e956ea67cdb487 /c2.c
parent4f92672534b2ebb83616de98b40fb79761c0c2ac (diff)
downloadtdebase-8f6c2d89ea6883d5cee95cfeb83618c5c11cbf12.tar.gz
tdebase-8f6c2d89ea6883d5cee95cfeb83618c5c11cbf12.zip
Misc: stoppaint_force & Documentation update
- Add stoppaint_force option, controlled via D-Bus, to stop painting completely, which may look better than unredirecting the screen, sometimes. (#41) - Add x2, y2 matching targets. - Update documentation.
Diffstat (limited to 'c2.c')
-rw-r--r--c2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/c2.c b/c2.c
index d2ca7be1f..e89638b21 100644
--- a/c2.c
+++ b/c2.c
@@ -1045,6 +1045,8 @@ c2_match_once_leaf(session_t *ps, win *w, const c2_l_t *pleaf,
case C2_L_PID: tgt = wid; break;
case C2_L_PX: tgt = w->a.x; break;
case C2_L_PY: tgt = w->a.y; break;
+ case C2_L_PX2: tgt = w->a.x + w->widthb; break;
+ case C2_L_PY2: tgt = w->a.y + w->heightb; break;
case C2_L_PWIDTH: tgt = w->a.width; break;
case C2_L_PHEIGHT: tgt = w->a.height; break;
case C2_L_PWIDTHB: tgt = w->widthb; break;