aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorokan2012-12-18 18:35:36 +0000
committerokan2012-12-18 18:35:36 +0000
commite21fb875f4ef5249d432be2fbd2d21148aaf8dd0 (patch)
treef422cfa2a6eed858c762b893e4de532d6d4527dd
parent8e0d832909de2b7af02e27e08051659c5ad44050 (diff)
downloadcwm-e21fb875f4ef5249d432be2fbd2d21148aaf8dd0.tar.gz
use MOUSEMASK since we already have it
-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 */