shod

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit ccdb72f3efb1107b01b0fe8057f7a48037a3d912
parent 431f77bca2108b130bf5afa3d8ca92c55854565a
Author: phillbush <phillbush@cock.li>
Date:   Sat, 18 Sep 2021 01:47:22 -0300

swap mouse buttons 1 and 3 on left titlebar button

Diffstat:
Mshod.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/shod.c b/shod.c @@ -4386,9 +4386,9 @@ xeventbuttonpress(XEvent *e) o = getoctant(c, x, y); if (ev->window == t->title && ev->button == Button3) { mouseretab(t, ev->x_root, ev->y_root, ev->x, ev->y); - } else if (res.row != NULL && ev->window == res.row->bl && ev->button == Button3) { - mousestack(res.row); } else if (res.row != NULL && ev->window == res.row->bl && ev->button == Button1) { + mousestack(res.row); + } else if (res.row != NULL && ev->window == res.row->bl && ev->button == Button3) { mousererow(res.row); } else if (res.row != NULL && ev->window == res.row->br && ev->button == Button1) { mouseclose(res.row);