summaryrefslogtreecommitdiffstats
path: root/c2.c
diff options
context:
space:
mode:
authorRichard Grenville <pyxlcy@gmail.com>2013-03-10 18:45:54 +0800
committerRichard Grenville <pyxlcy@gmail.com>2013-03-10 18:45:54 +0800
commit07ed9901e7a6ff65a6baa2dcf95e206dc6970ca5 (patch)
tree375316b107a99443a3f8c6588492bb4b907015e6 /c2.c
parentdc4da095bb876c4ba2b77050b35883e59af944a6 (diff)
downloadtdebase-07ed9901e7a6ff65a6baa2dcf95e206dc6970ca5.tar.gz
tdebase-07ed9901e7a6ff65a6baa2dcf95e206dc6970ca5.zip
Improvement: ARGB window matching & Enable track_focus with D-Bus
- Add predefined matching target "argb" to match ARGB windows. - Make it possible to enable focus tracking on-the-fly with D-Bus method.
Diffstat (limited to 'c2.c')
-rw-r--r--c2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/c2.c b/c2.c
index 5bbb4e3a8..4e2b0dfb3 100644
--- a/c2.c
+++ b/c2.c
@@ -1042,6 +1042,7 @@ c2_match_once_leaf(session_t *ps, win *w, const c2_l_t *pleaf,
switch (pleaf->predef) {
case C2_L_PID: tgt = wid; break;
case C2_L_POVREDIR: tgt = w->a.override_redirect; break;
+ case C2_L_PARGB: tgt = (WMODE_ARGB == w->mode); break;
case C2_L_PFOCUSED: tgt = w->focused_real; break;
case C2_L_PWMWIN: tgt = w->wmwin; break;
case C2_L_PCLIENT: tgt = w->client_win; break;