From 07ed9901e7a6ff65a6baa2dcf95e206dc6970ca5 Mon Sep 17 00:00:00 2001 From: Richard Grenville Date: Sun, 10 Mar 2013 18:45:54 +0800 Subject: 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. --- c2.c | 1 + 1 file changed, 1 insertion(+) (limited to 'c2.c') 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; -- cgit v1.2.1