changeset 3208:fead825416ef

Updated #294: Updated flags and prototypes
author unexist
date Wed, 23 May 2012 01:43:43 +0200
parents d1ecee58305f
children d689396e814e
files src/subtle/subtle.h
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/subtle/subtle.h	Wed May 23 01:41:41 2012 +0200
+++ b/src/subtle/subtle.h	Wed May 23 01:43:43 2012 +0200
@@ -346,6 +346,7 @@
 #define SUB_TAG_GRAVITY               (1L << 10)                  ///< Gravity property
 #define SUB_TAG_GEOMETRY              (1L << 11)                  ///< Geometry property
 #define SUB_TAG_POSITION              (1L << 12)                  ///< Position property
+#define SUB_TAG_PROC                  (1L << 13)                  ///< Tagging proc (must be <16)
 
 /* Tag matcher */
 #define SUB_TAG_MATCH_NAME            (1L << 10)                  ///< Match WM_NAME
@@ -353,7 +354,7 @@
 #define SUB_TAG_MATCH_CLASS           (1L << 12)                  ///< Match class of WM_CLASS
 #define SUB_TAG_MATCH_ROLE            (1L << 13)                  ///< Match role of window
 #define SUB_TAG_MATCH_TYPE            (1L << 14)                  ///< Match type of window
-#define SUB_TAG_MATCH_AND             (1L << 15)                  ///< Match logical AND
+#define SUB_TAG_MATCH_AND             (1L << 15)                  ///< Match logical AND (must be <26)
 
 /* Tray flags */
 #define SUB_TRAY_DEAD                 (1L << 10)                  ///< Dead window
@@ -726,7 +727,7 @@
 {
   FLAGS             flags;                                        ///< Tag flags
   char              *name;                                        ///< Tag name
-  unsigned long     gravityid;                                    ///< Tag gravity
+  unsigned long     gravityid, proc;                              ///< Tag gravity, proc
   int               screenid;                                     ///< Tag screen
   XRectangle        geom;                                         ///< Tag geometry
   struct subarray_t *matcher;                                     ///< Tag matcher