border width/color makes no sense on menuwin

This commit is contained in:
okan 2013-05-06 16:00:34 +00:00
parent ac3d3b5f55
commit ed984685b1

View File

@ -16,7 +16,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* $OpenBSD: menu.c,v 1.57 2013/05/02 20:18:35 okan Exp $
* $OpenBSD: menu.c,v 1.58 2013/05/06 16:00:34 okan Exp $
*/
#include <sys/param.h>
@ -81,9 +81,7 @@ static int menu_keycode(XKeyEvent *, enum ctltype *,
void
menu_init(struct screen_ctx *sc)
{
sc->menuwin = XCreateSimpleWindow(X_Dpy, sc->rootwin, 0, 0, 1, 1,
Conf.bwidth,
sc->xftcolor[CWM_COLOR_MENU_FG].pixel,
sc->menuwin = XCreateSimpleWindow(X_Dpy, sc->rootwin, 0, 0, 1, 1, 0, 0,
sc->xftcolor[CWM_COLOR_MENU_BG].pixel);
}