pinosaur
/
dmenu.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e30ad49
)
input focus: fix for reparenting wms
author
Connor Lane Smith
<cls@lubutu.com>
Tue, 4 Oct 2011 20:39:56 +0000
(21:39 +0100)
committer
Connor Lane Smith
<cls@lubutu.com>
Tue, 4 Oct 2011 20:39:56 +0000
(21:39 +0100)
dmenu.c
patch
|
blob
|
history
diff --git
a/dmenu.c
b/dmenu.c
index
458f5ab
..
5d11932
100644
(file)
--- a/
dmenu.c
+++ b/
dmenu.c
@@
-510,7
+510,7
@@
setup(void) {
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++)