shod

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

commit 88f7dbd5794290ab92a2243c3d8af1309cbe99d6
parent db7cd5cd466c358680635614db9ac986f79823b1
Author: phillbush <phillbush@cock.li>
Date:   Thu, 16 Sep 2021 14:51:31 -0300

rename function

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

diff --git a/shod.c b/shod.c @@ -1063,7 +1063,7 @@ getnextfocused(struct Monitor *mon, struct Desktop *desk) /* get next focused container in given direction from another */ static struct Container * -getbydirection(struct Container *rel, int dir) +getfocusedbydirection(struct Container *rel, int dir) { struct Monitor *mon; struct Desktop *desk; @@ -4485,7 +4485,7 @@ xeventclientmessage(XEvent *e) case _SHOD_FOCUS_RIGHT_CONTAINER: case _SHOD_FOCUS_TOP_CONTAINER: case _SHOD_FOCUS_BOTTOM_CONTAINER: - if (res.c != NULL && (c = getbydirection(res.c, ev->data.l[3])) != NULL) + if (res.c != NULL && (c = getfocusedbydirection(res.c, ev->data.l[3])) != NULL) t = c->selcol->selrow->seltab; break; case _SHOD_FOCUS_PREVIOUS_CONTAINER: