cmdtree

A trie command launcher for X11
git clone git://jb55.com/cmdtree
Log | Files | Refs | README | LICENSE

commit 7b58e2d992818de8248a108fadd88b1c37d0cfdb
parent b1956141291cb3ecd1b060f20de50634132ed76d
Author: William Casarin <jb55@jb55.com>
Date:   Wed, 17 Oct 2018 09:55:59 -0700

fix weird focus issues

Diffstat:
Mcmdtree.c | 17-----------------
1 file changed, 0 insertions(+), 17 deletions(-)

diff --git a/cmdtree.c b/cmdtree.c @@ -161,29 +161,12 @@ setup(Drw *drw) // what do? XMapRaised(display, win); - XSetInputFocus(display, win, RevertToParent, CurrentTime); xim = XOpenIM(display, NULL, NULL, NULL); xic = XCreateIC(xim, XNInputStyle, XIMPreeditNothing | XIMStatusNothing, XNClientWindow, win, XNFocusWindow, win, NULL); XSelectInput(display, win, ExposureMask | KeyPressMask); XMapWindow(display, win); - - XSetInputFocus(display, win, RevertToParent, CurrentTime); - - // XXXembed - /* if (embed) { */ - /* XSelectInput(dpy, parentwin, FocusChangeMask); */ - /* if (XQueryTree(dpy, parentwin, &dw, &w, &dws, &du) && dws) { */ - /* for (i = 0; i < du && dws[i] != win; ++i) */ - /* XSelectInput(dpy, dws[i], FocusChangeMask); */ - /* XFree(dws); */ - /* } */ - /* grabfocus(); */ - /* } */ - - /* drw_resize(drw, mw, mh); */ - /* draw_tree(drw); */ } static const char *