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.
This commit is contained in:
Richard Grenville
2013-03-10 18:45:54 +08:00
parent b3652f6746
commit aace60be59
7 changed files with 48 additions and 3 deletions

View File

@ -100,6 +100,7 @@ struct _c2_l {
C2_L_PUNDEFINED,
C2_L_PID,
C2_L_POVREDIR,
C2_L_PARGB,
C2_L_PFOCUSED,
C2_L_PWMWIN,
C2_L_PCLIENT,
@ -175,6 +176,7 @@ typedef struct {
const static c2_predef_t C2_PREDEFS[] = {
[C2_L_PID ] = { "id" , 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 },
[C2_L_PWMWIN ] = { "wmwin" , C2_L_TCARDINAL , 0 },
[C2_L_PCLIENT ] = { "client" , C2_L_TWINDOW , 0 },