diff options
author | Richard Grenville <pyxlcy@gmail.com> | 2013-03-10 18:45:54 +0800 |
---|---|---|
committer | Richard Grenville <pyxlcy@gmail.com> | 2013-03-10 18:45:54 +0800 |
commit | 07ed9901e7a6ff65a6baa2dcf95e206dc6970ca5 (patch) | |
tree | 375316b107a99443a3f8c6588492bb4b907015e6 /c2.c | |
parent | dc4da095bb876c4ba2b77050b35883e59af944a6 (diff) | |
download | tdebase-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |