aboutsummaryrefslogtreecommitdiffstats
path: root/mousefunc.c
diff options
context:
space:
mode:
authorokan2014-08-20 15:15:29 +0000
committerokan2014-08-20 15:15:29 +0000
commitbaef75bfc55b19ae2f4f1a5f09c82d35539d5637 (patch)
tree1781b9efc7f70975adf5efab5cc71169288c2032 /mousefunc.c
parent081e6ab493c1cb965f3f03d6b55f2a24117e9290 (diff)
downloadcwm-baef75bfc55b19ae2f4f1a5f09c82d35539d5637.tar.gz
Purely mechanical; unify 'num', 'no' and 'shortcut'.
Diffstat (limited to '')
-rw-r--r--mousefunc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mousefunc.c b/mousefunc.c
index 5bf3468..c954991 100644
--- a/mousefunc.c
+++ b/mousefunc.c
@@ -16,7 +16,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: mousefunc.c,v 1.71 2014/02/07 21:59:56 okan Exp $
+ * $OpenBSD: mousefunc.c,v 1.72 2014/08/20 15:15:29 okan Exp $
*/
#include <sys/param.h>
@@ -202,8 +202,7 @@ mousefunc_menu_unhide(struct client_ctx *cc, union arg *arg)
if (wname == NULL)
continue;
- menuq_add(&menuq, cc, "(%d) %s",
- cc->group->shortcut, wname);
+ menuq_add(&menuq, cc, "(%d) %s", cc->group->num, wname);
}
if (TAILQ_EMPTY(&menuq))