diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2012-12-18 18:35:37 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2012-12-18 18:35:37 +0000 |
commit | edca43914873b082d611b53c9b0344653f180dbf (patch) | |
tree | 9a655baf09d3d5d126c1c62c375f0bd77d7de4b6 /app/cwm/calmwm.h | |
parent | 694b254d6373da6c34cca70e2344a66b5bb66e11 (diff) |
use MOUSEMASK since we already have it
Diffstat (limited to 'app/cwm/calmwm.h')
-rw-r--r-- | app/cwm/calmwm.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/app/cwm/calmwm.h b/app/cwm/calmwm.h index 38bb053c3..7547b62c6 100644 --- a/app/cwm/calmwm.h +++ b/app/cwm/calmwm.h @@ -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.176 2012/12/18 17:44:18 okan Exp $ + * $OpenBSD: calmwm.h,v 1.177 2012/12/18 18:35:36 okan Exp $ */ #ifndef _CALMWM_H_ @@ -47,11 +47,9 @@ #define CHILDMASK (SubstructureRedirectMask|SubstructureNotifyMask) #define BUTTONMASK (ButtonPressMask|ButtonReleaseMask) #define MOUSEMASK (BUTTONMASK|PointerMotionMask) +#define MENUMASK (MOUSEMASK|ButtonMotionMask|ExposureMask) +#define MENUGRABMASK (MOUSEMASK|ButtonMotionMask|StructureNotifyMask) #define KEYMASK (KeyPressMask|ExposureMask) -#define MENUMASK (BUTTONMASK|ButtonMotionMask|ExposureMask| \ - PointerMotionMask) -#define MENUGRABMASK (BUTTONMASK|ButtonMotionMask|StructureNotifyMask|\ - PointerMotionMask) #define IGNOREMODMASK (LockMask|Mod2Mask) /* kb movement */ |