diff options
author | okan | 2013-07-08 18:19:22 +0000 |
---|---|---|
committer | okan | 2013-07-08 18:19:22 +0000 |
commit | 63e9ed547d2b6c27553b71a57d79d8afce15e2c5 (patch) | |
tree | cfbef2a3adb561b9f40967b03f889f031f4e02cf /xevents.c | |
parent | 90507e8e1a2ac93497684c584678e705e658dea7 (diff) | |
download | cwm-63e9ed547d2b6c27553b71a57d79d8afce15e2c5.tar.gz |
move kbfunc and mousefunc closer together
Diffstat (limited to 'xevents.c')
-rw-r--r-- | xevents.c | 6 |
1 files changed, 3 insertions, 3 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: xevents.c,v 1.86 2013/07/08 15:46:16 okan Exp $ + * $OpenBSD: xevents.c,v 1.87 2013/07/08 18:19:22 okan Exp $ */ /* @@ -253,12 +253,12 @@ xev_handle_buttonpress(XEvent *ee) if (mb == NULL) return; - if (mb->context == MOUSEBIND_CTX_ROOT) { + if (mb->flags == MOUSEBIND_CTX_ROOT) { if (e->window != sc->rootwin) return; cc = &fakecc; cc->sc = screen_fromroot(e->window); - } else if (cc == NULL) /* (mb->context == MOUSEBIND_CTX_WIN */ + } else if (cc == NULL) /* (mb->flags == MOUSEBIND_CTX_WIN */ return; (*mb->callback)(cc, e); |