From e21fb875f4ef5249d432be2fbd2d21148aaf8dd0 Mon Sep 17 00:00:00 2001 From: okan Date: Tue, 18 Dec 2012 18:35:36 +0000 Subject: use MOUSEMASK since we already have it --- calmwm.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/calmwm.h b/calmwm.h index 38bb053..7547b62 100644 --- a/calmwm.h +++ b/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 */ -- cgit v1.2.3-2-gb3c3