aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calmwm.h8
1 files 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 */