Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
fix
[dwm.git]
/
dwm.c
diff --git
a/dwm.c
b/dwm.c
index
4a8c2a9
..
507084c
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-1590,7
+1590,7
@@
updategeom(void) {
if(XineramaIsActive(dpy)) {
info = XineramaQueryScreens(dpy, &i);
wx = info[0].x_org;
if(XineramaIsActive(dpy)) {
info = XineramaQueryScreens(dpy, &i);
wx = info[0].x_org;
- wy = showbar && topbar ? info[0].y_org +
info[0].height +
bh : info[0].y_org;
+ wy = showbar && topbar ? info[0].y_org + bh : info[0].y_org;
ww = info[0].width;
wh = showbar ? info[0].height - bh : info[0].height;
XFree(info);
ww = info[0].width;
wh = showbar ? info[0].height - bh : info[0].height;
XFree(info);