diff options
author | okan | 2011-07-23 13:09:11 +0000 |
---|---|---|
committer | okan | 2011-07-23 13:09:11 +0000 |
commit | 1ef8b9886258d857d0c25c9ab2f5220b4acb8065 (patch) | |
tree | bf08246298b4cd95fd5b3d97b89660cf97819606 /calmwm.h | |
parent | 53b7330bd878e0239dad070d7049347c8423f10e (diff) | |
download | cwm-1ef8b9886258d857d0c25c9ab2f5220b4acb8065.tar.gz |
Clarify defines and make them not look like non-local ones; started by a
small diff from Thomas Pfaff.
ok oga@
Diffstat (limited to 'calmwm.h')
-rw-r--r-- | calmwm.h | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: calmwm.h,v 1.134 2011/07/14 11:39:53 okan Exp $ + * $OpenBSD: calmwm.h,v 1.135 2011/07/23 13:09:11 okan Exp $ */ #ifndef _CALMWM_H_ @@ -43,15 +43,15 @@ #define CONFFILE ".cwmrc" #define WMNAME "CWM" -#define ChildMask (SubstructureRedirectMask|SubstructureNotifyMask) -#define ButtonMask (ButtonPressMask|ButtonReleaseMask) -#define MouseMask (ButtonMask|PointerMotionMask) -#define KeyMask (KeyPressMask|ExposureMask) -#define MenuMask (ButtonMask|ButtonMotionMask|ExposureMask| \ +#define CHILDMASK (SubstructureRedirectMask|SubstructureNotifyMask) +#define BUTTONMASK (ButtonPressMask|ButtonReleaseMask) +#define MOUSEMASK (BUTTONMASK|PointerMotionMask) +#define KEYMASK (KeyPressMask|ExposureMask) +#define MENUMASK (BUTTONMASK|ButtonMotionMask|ExposureMask| \ PointerMotionMask) -#define MenuGrabMask (ButtonMask|ButtonMotionMask|StructureNotifyMask|\ +#define MENUGRABMASK (BUTTONMASK|ButtonMotionMask|StructureNotifyMask|\ PointerMotionMask) -#define SearchMask (KeyPressMask|ExposureMask) +#define SEARCHMASK (KeyPressMask|ExposureMask) /* kb movement */ #define CWM_MOVE 0x0001 |