summaryrefslogtreecommitdiff
path: root/app/cwm/calmwm.h
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2014-01-20 23:03:52 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2014-01-20 23:03:52 +0000
commit6b524d2356d26884bc5dbfcbc18fec3acdb162d0 (patch)
tree3ce7966745f05a6a1b6885f42a446a93cacdf0f1 /app/cwm/calmwm.h
parent65942c1a5b78bc5086572b81d2f9b54aae2c862d (diff)
merge KBFLAG_NEEDCLIENT and MOUSEBIND_CTX_*; brings kbfunc and mousefunc
bits even closer.
Diffstat (limited to 'app/cwm/calmwm.h')
-rw-r--r--app/cwm/calmwm.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/cwm/calmwm.h b/app/cwm/calmwm.h
index 74a58174c..089a8e9e0 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.244 2014/01/20 22:31:53 okan Exp $
+ * $OpenBSD: calmwm.h,v 1.245 2014/01/20 23:03:51 okan Exp $
*/
#ifndef _CALMWM_H_
@@ -83,6 +83,8 @@
#define CWM_GAP 0x0001
#define CWM_NOGAP 0x0002
+#define CWM_WIN 0x0001
+
union arg {
char *c;
int i;
@@ -247,7 +249,6 @@ struct keybinding {
union arg argument;
unsigned int modmask;
KeySym keysym;
-#define KBFLAG_NEEDCLIENT 0x0001
int flags;
int argtype;
};
@@ -259,8 +260,6 @@ struct mousebinding {
union arg argument;
unsigned int modmask;
unsigned int button;
-#define MOUSEBIND_CTX_ROOT 0x0001
-#define MOUSEBIND_CTX_WIN 0x0002
int flags;
};
TAILQ_HEAD(mousebinding_q, mousebinding);