aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.c
diff options
context:
space:
mode:
authorokan2013-05-22 16:54:09 +0000
committerokan2013-05-22 16:54:09 +0000
commit92c867e77e4da3c07ed400b7d66ec200b4e15bc2 (patch)
tree53ae373166d7b480ab844e233090b21c0199de96 /calmwm.c
parent1ea4db26e9ce71da6e81886df5de1c593f85d0f7 (diff)
downloadcwm-92c867e77e4da3c07ed400b7d66ec200b4e15bc2.tar.gz
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.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/calmwm.c b/calmwm.c
index a9afd91..6be90ea 100644
--- a/calmwm.c
+++ b/calmwm.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: calmwm.c,v 1.75 2013/05/14 13:39:53 okan Exp $
+ * $OpenBSD: calmwm.c,v 1.76 2013/05/22 16:54:09 okan Exp $
*/
#include <sys/param.h>
@@ -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