From bc9d9528c07819dda788fd775c9ef4fc510c23e6 Mon Sep 17 00:00:00 2001 From: okan Date: Sun, 20 Oct 2013 01:55:32 +0000 Subject: wrap key ungrab like btn ungrab, for it'll be used again --- conf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'conf.c') diff --git a/conf.c b/conf.c index ae3fffa..689cbf2 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.147 2013/10/19 19:39:34 okan Exp $ + * $OpenBSD: conf.c,v 1.148 2013/10/20 01:55:32 okan Exp $ */ #include @@ -663,7 +663,7 @@ conf_grab_kbd(Window win) { struct keybinding *kb; - XUngrabKey(X_Dpy, AnyKey, AnyModifier, win); + xu_key_ungrab(win); TAILQ_FOREACH(kb, &Conf.keybindingq, entry) xu_key_grab(win, kb->modmask, kb->keysym); -- cgit v1.2.3-2-gb3c3