diff options
-rw-r--r-- | config.h | 7 | ||||
-rw-r--r-- | dwm.c | 2 |
2 files changed, 2 insertions, 7 deletions
@@ -22,7 +22,7 @@ static int showbar = 1; /* 0 means no bar */ static int topbar = 1; /* 0 means bottom bar */ static char font[] = "monospace:size=10"; static char dmenufont[] = "monospace:size=10"; -static const char *fonts[] = { font, "Mononoki Nerd Font:pixelsize=16:antialias=true:autohint=true", "JoyPixels:pixelsize=16:antialias=true:autohint=true" }; +static const char *fonts[] = { font, "Mononoki Nerd Font:pixelsize=16:antialias=true:autohint=true", "JoyPixels:pixelsize=12:antialias=true:autohint=true" }; static char normbgcolor[] = "#222222"; static char normbordercolor[] = "#444444"; static char normfgcolor[] = "#bbbbbb"; @@ -264,15 +264,10 @@ static const Key keys[] = { static Button buttons[] = { /* click event mask button function argument */ -#ifndef __OpenBSD__ { ClkWinTitle, 0, Button2, zoom, {0} }, { ClkStatusText, 0, Button1, sigstatusbar, {.i = 1} }, { ClkStatusText, 0, Button2, sigstatusbar, {.i = 2} }, { ClkStatusText, 0, Button3, sigstatusbar, {.i = 3} }, - { ClkStatusText, 0, Button4, sigstatusbar, {.i = 4} }, - { ClkStatusText, 0, Button5, sigstatusbar, {.i = 5} }, - { ClkStatusText, ShiftMask, Button1, sigstatusbar, {.i = 6} }, -#endif { ClkClientWin, MODKEY, Button1, movemouse, {0} }, { ClkClientWin, MODKEY, Button2, defaultgaps, {0} }, { ClkClientWin, MODKEY, Button3, resizemouse, {0} }, @@ -589,7 +589,7 @@ buttonpress(XEvent *e) click = ClkLtSymbol; else if (ev->x > selmon->ww - statusw - getsystraywidth()) { click = ClkStatusText; - x = selmon->ww - statusw; + x = selmon->ww - statusw - getsystraywidth(); statussig = 0; for (text = s = stext; *s && x <= ev->x; s++) { if ((unsigned char)(*s) < ' ') { |