Bläddra i källkod

input focus: fix for reparenting wms

master
Connor Lane Smith 12 år sedan
förälder
incheckning
8e302717cb
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. +1
    -1
      dmenu.c

+ 1
- 1
dmenu.c Visa fil

@@ -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++)


Laddar…
Avbryt
Spara