diff options
author | okan | 2013-10-20 01:55:32 +0000 |
---|---|---|
committer | okan | 2013-10-20 01:55:32 +0000 |
commit | bc9d9528c07819dda788fd775c9ef4fc510c23e6 (patch) | |
tree | 21eb4bc041b4bfdba7ac038d4645865faf3f8dbc /conf.c | |
parent | 9f44dc960c07054d0b9cbb4fab6e3e7c70cb1423 (diff) | |
download | cwm-bc9d9528c07819dda788fd775c9ef4fc510c23e6.tar.gz |
wrap key ungrab like btn ungrab, for it'll be used again
Diffstat (limited to 'conf.c')
-rw-r--r-- | conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 <sys/param.h> @@ -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); |