diff options
author | okan | 2012-12-18 18:35:36 +0000 |
---|---|---|
committer | okan | 2012-12-18 18:35:36 +0000 |
commit | e21fb875f4ef5249d432be2fbd2d21148aaf8dd0 (patch) | |
tree | f422cfa2a6eed858c762b893e4de532d6d4527dd /calmwm.h | |
parent | 8e0d832909de2b7af02e27e08051659c5ad44050 (diff) | |
download | cwm-e21fb875f4ef5249d432be2fbd2d21148aaf8dd0.tar.gz |
use MOUSEMASK since we already have it
Diffstat (limited to '')
-rw-r--r-- | calmwm.h | 8 |
1 files changed, 3 insertions, 5 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.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 */ |