about summary refs log tree commit diff
path: root/mousefunc.c
diff options
context:
space:
mode:
authorokan <okan>2011-06-24 06:09:26 +0000
committerokan <okan>2011-06-24 06:09:26 +0000
commit8f1c5833613687e67c8422bd50c34b4d11fa2e6c (patch)
tree17be3dacc2f50d4aa78496a7fa66ae23c9a78c2a /mousefunc.c
parent34ba6cdbcc03111d75e2336739aa70edc7da5a1d (diff)
downloadcwm-8f1c5833613687e67c8422bd50c34b4d11fa2e6c.tar.gz
cwm-8f1c5833613687e67c8422bd50c34b4d11fa2e6c.tar.xz
cwm-8f1c5833613687e67c8422bd50c34b4d11fa2e6c.zip
New option to raise a client via the mouse (unbound by default);
opposing action, lower, already exists and bound.  Both keyboard
mappings already exist.

'no opinion either way' oga@
Diffstat (limited to 'mousefunc.c')
-rw-r--r--mousefunc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mousefunc.c b/mousefunc.c
index d287d8b..4d39fa9 100644
--- a/mousefunc.c
+++ b/mousefunc.c
@@ -197,6 +197,12 @@ mousefunc_window_lower(struct client_ctx *cc, void *arg)
 }
 
 void
+mousefunc_window_raise(struct client_ctx *cc, void *arg)
+{
+	client_raise(cc);
+}
+
+void
 mousefunc_window_hide(struct client_ctx *cc, void *arg)
 {
 	client_hide(cc);