mirror of
https://github.com/mintycube/dmenu.git
synced 2024-10-22 12:05:48 +00:00
border patch: fix for no border on the right hand side
This commit is contained in:
parent
7fd7f72d5d
commit
6dd910f53c
2
dmenu.c
2
dmenu.c
@ -1670,7 +1670,7 @@ setup(void)
|
|||||||
#endif // MOUSE_SUPPORT_PATCH
|
#endif // MOUSE_SUPPORT_PATCH
|
||||||
;
|
;
|
||||||
#if BORDER_PATCH
|
#if BORDER_PATCH
|
||||||
win = XCreateWindow(dpy, parentwin, x, y, mw, mh, border_width,
|
win = XCreateWindow(dpy, parentwin, x, y - (topbar ? 0 : border_width * 2), mw - border_width * 2, mh, border_width,
|
||||||
#else
|
#else
|
||||||
win = XCreateWindow(dpy, parentwin, x, y, mw, mh, 0,
|
win = XCreateWindow(dpy, parentwin, x, y, mw, mh, 0,
|
||||||
#endif // BORDER_PATCH
|
#endif // BORDER_PATCH
|
||||||
|
Loading…
x
Reference in New Issue
Block a user