aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
authorokan2014-01-20 22:31:53 +0000
committerokan2014-01-20 22:31:53 +0000
commit4b339afeffe5ce7c19c1c9ea0217b45b386708d1 (patch)
tree0874ca5f6f9c1e336bab7f0d706e840a2b214e55 /conf.c
parenta142331514fc5e300b8bbc97cc5bc71ca7080d7b (diff)
downloadcwm-4b339afeffe5ce7c19c1c9ea0217b45b386708d1.tar.gz
Use argument to pass down flags for mousefunc cyclegroup; removes
rcyclegroup wrapper need - now similar to kbfunc.
Diffstat (limited to '')
-rw-r--r--conf.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/conf.c b/conf.c
index efffc13..27d65f1 100644
--- a/conf.c
+++ b/conf.c
@@ -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: conf.c,v 1.157 2014/01/20 21:34:32 okan Exp $
+ * $OpenBSD: conf.c,v 1.158 2014/01/20 22:31:53 okan Exp $
*/
#include <sys/param.h>
@@ -549,9 +549,10 @@ static struct {
{ "window_lower", mousefunc_client_lower, MOUSEBIND_CTX_WIN, {0} },
{ "window_raise", mousefunc_client_raise, MOUSEBIND_CTX_WIN, {0} },
{ "window_hide", mousefunc_client_hide, MOUSEBIND_CTX_WIN, {0} },
- { "cyclegroup", mousefunc_client_cyclegroup, MOUSEBIND_CTX_ROOT, {0} },
- { "rcyclegroup", mousefunc_client_rcyclegroup,
- MOUSEBIND_CTX_ROOT, {0} },
+ { "cyclegroup", mousefunc_client_cyclegroup,
+ MOUSEBIND_CTX_ROOT, {.i = CWM_CYCLE} },
+ { "rcyclegroup", mousefunc_client_cyclegroup,
+ MOUSEBIND_CTX_ROOT, {.i = CWM_RCYCLE} },
{ "menu_group", mousefunc_menu_group, MOUSEBIND_CTX_ROOT, {0} },
{ "menu_unhide", mousefunc_menu_unhide, MOUSEBIND_CTX_ROOT, {0} },
{ "menu_cmd", mousefunc_menu_cmd, MOUSEBIND_CTX_ROOT, {0} },