aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2014-01-20 23:03:51 +0000
committerokan2014-01-20 23:03:51 +0000
commita312a1655b8beac83ae1df783c44e84867f0ebcf (patch)
tree39d000c6b7cb4d6ae87eee376d22455c02205f19 /calmwm.h
parent4b339afeffe5ce7c19c1c9ea0217b45b386708d1 (diff)
downloadcwm-a312a1655b8beac83ae1df783c44e84867f0ebcf.tar.gz
merge KBFLAG_NEEDCLIENT and MOUSEBIND_CTX_*; brings kbfunc and mousefunc
bits even closer.
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/calmwm.h b/calmwm.h
index 74a5817..089a8e9 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.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);