diff options
| author | ProsperousPotato <ProsperousPotato@users.noreply.github.com> | 2025-12-10 20:07:23 +0000 |
|---|---|---|
| committer | ProsperousPotato <ProsperousPotato@users.noreply.github.com> | 2025-12-10 20:07:23 +0000 |
| commit | a0a521a5c5537a9730c05cb9b471372f04794b9b (patch) | |
| tree | c68dd67e89a35c28d35afac892e426b4360abcf8 /dwm.c | |
| parent | eaa7d03707f01099c1e22142333e11f904274bfd (diff) | |
update configs
Diffstat (limited to 'dwm.c')
| -rw-r--r-- | dwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -68,7 +68,7 @@ enum { NetSupported, NetWMName, NetWMState, NetWMCheck, NetWMFullscreen, NetActiveWindow, NetWMWindowType, NetWMWindowTypeDialog, NetClientList, NetLast }; /* EWMH atoms */ enum { WMProtocols, WMDelete, WMState, WMTakeFocus, WMLast }; /* default atoms */ -enum { ClkTagBar, ClkClientWin, ClkRootWin, ClkLast }; /* clicks */ +enum { ClkClientWin, ClkRootWin }; /* clicks */ typedef union { int i; @@ -503,7 +503,7 @@ buttonpress(XEvent *e) for (i = 0; i < LENGTH(buttons); i++) if (click == buttons[i].click && buttons[i].func && buttons[i].button == ev->button && CLEANMASK(buttons[i].mask) == CLEANMASK(ev->state)) - buttons[i].func(click == ClkTagBar && buttons[i].arg.i == 0 ? &arg : &buttons[i].arg); + buttons[i].func(&buttons[i].arg); } void |
