all repos — dmenu @ 8e302717cb2d03c79c2f372f5e0489ea54dbb440

my build of dmenu

input focus: fix for reparenting wms
Connor Lane Smith cls@lubutu.com
Tue, 04 Oct 2011 21:39:56 +0100
commit

8e302717cb2d03c79c2f372f5e0489ea54dbb440

parent

e30ad490b2b9048bc7e70fc81f0be2b378985f89

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M dmenu.cdmenu.c

@@ -510,7 +510,7 @@ XWindowAttributes wa;

XGetInputFocus(dc->dpy, &w, &di); if(w != root && w != PointerRoot && w != None && XGetWindowAttributes(dc->dpy, w, &wa)) - XTranslateCoordinates(dc->dpy, root, root, wa.x, wa.y, &x, &y, &dw); + XTranslateCoordinates(dc->dpy, w, root, wa.x, wa.y, &x, &y, &dw); else XQueryPointer(dc->dpy, root, &dw, &dw, &x, &y, &di, &di, &du); for(i = 0; i < n-1; i++)