aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
authorokan2014-01-30 14:40:21 +0000
committerokan2014-01-30 14:40:21 +0000
commit32dd324f77b7e17e3fbfda6b85c2cad6c47787ea (patch)
treee1cc2ba7d81c066e843a211dae6855a606214658 /conf.c
parent8c125f543f9d7757a98d140d19249b88b52407ac (diff)
downloadcwm-32dd324f77b7e17e3fbfda6b85c2cad6c47787ea.tar.gz
Remove duplicate mouse functions and instead use the kbfunc ones. No
user visable changes at this point, but they'll merge at an appropriate time.
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/conf.c b/conf.c
index 00726c8..b35b7c5 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.167 2014/01/29 22:30:00 okan Exp $
+ * $OpenBSD: conf.c,v 1.168 2014/01/30 14:40:21 okan Exp $
*/
#include <sys/param.h>
@@ -557,14 +557,14 @@ static const struct {
int flags;
union arg argument;
} name_to_mousefunc[] = {
+ { "window_lower", kbfunc_client_lower, CWM_WIN, {0} },
+ { "window_raise", kbfunc_client_raise, CWM_WIN, {0} },
+ { "window_hide", kbfunc_client_hide, CWM_WIN, {0} },
+ { "cyclegroup", kbfunc_client_cyclegroup, 0, {.i = CWM_CYCLE} },
+ { "rcyclegroup", kbfunc_client_cyclegroup, 0, {.i = CWM_RCYCLE} },
{ "window_move", mousefunc_client_move, CWM_WIN, {0} },
{ "window_resize", mousefunc_client_resize, CWM_WIN, {0} },
{ "window_grouptoggle", mousefunc_client_grouptoggle, CWM_WIN, {0} },
- { "window_lower", mousefunc_client_lower, CWM_WIN, {0} },
- { "window_raise", mousefunc_client_raise, CWM_WIN, {0} },
- { "window_hide", mousefunc_client_hide, CWM_WIN, {0} },
- { "cyclegroup", mousefunc_client_cyclegroup, 0, {.i = CWM_CYCLE} },
- { "rcyclegroup", mousefunc_client_cyclegroup, 0, {.i = CWM_RCYCLE} },
{ "menu_group", mousefunc_menu_group, 0, {0} },
{ "menu_unhide", mousefunc_menu_unhide, 0, {0} },
{ "menu_cmd", mousefunc_menu_cmd, 0, {0} },