summary refs log tree commit diff
path: root/calmwm.c
diff options
context:
space:
mode:
authorokan <okan>2013-05-22 16:54:09 +0000
committerokan <okan>2013-05-22 16:54:09 +0000
commitd1eadee9226043af0e2a7043a958e6c4d8e405bc (patch)
tree546aa3fc94128d3591cafe0306c2d91069e81f08 /calmwm.c
parent532f132194751bd2f530a13c243a30c76f66bfaa (diff)
downloadcwm-d1eadee9226043af0e2a7043a958e6c4d8e405bc.tar.gz
cwm-d1eadee9226043af0e2a7043a958e6c4d8e405bc.tar.xz
cwm-d1eadee9226043af0e2a7043a958e6c4d8e405bc.zip
get rid of long standing XXX: now that we configure screens based on
config options, add the keybinding GrabKey calls here
Diffstat (limited to 'calmwm.c')
-rw-r--r--calmwm.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/calmwm.c b/calmwm.c
index e9b3902..f2dff49 100644
--- a/calmwm.c
+++ b/calmwm.c
@@ -144,7 +144,6 @@ dpy_init(const char *dpyname)
 static void
 x_setup(void)
 {
-	struct keybinding	*kb;
 	int			 i;
 
 	Cursor_default = XCreateFontCursor(X_Dpy, XC_X_cursor);
@@ -155,13 +154,6 @@ x_setup(void)
 
 	for (i = 0; i < ScreenCount(X_Dpy); i++)
 		screen_init(i);
-
-	/*
-	 * XXX key grabs weren't done before, since Screenq was empty,
-	 * do them here for now (this needs changing).
-	 */
-	TAILQ_FOREACH(kb, &Conf.keybindingq, entry)
-		conf_grab(&Conf, kb);
 }
 
 static void