sbstnc / dmenu-ee

dmenu-ee // dynamic menu extended edition
Other
16 stars 5 forks source link

Fix yoffset issue in setup() #5

Open duckwork opened 7 years ago

duckwork commented 7 years ago

Just after the #ifdef XINERAMA block in setup(), x and y are set. This:

y = topbar ? 0 : DisplayHeight(dc->dpy, screen) - mh - yoffset;

should be this:

y = topbar ? yoffset : DisplayHeight(dc->dpy, screen) - mh - yoffset;

If I need to create a PR for this issue, I can, but I figured since it's basically just a typo I'd just open an issue about it.