diff --git a/src/dispatch/bind_define.h b/src/dispatch/bind_define.h index eceec3a..d42e772 100644 --- a/src/dispatch/bind_define.h +++ b/src/dispatch/bind_define.h @@ -190,7 +190,9 @@ int focusmon(const Arg *arg) { old_selmon_sel = selmon->sel; selmon = m; - warp_cursor_to_selmon(selmon); + if (warpcursor) { + warp_cursor_to_selmon(selmon); + } c = focustop(selmon); if (!c) { selmon->sel = NULL; @@ -1071,7 +1073,9 @@ int tagmon(const Arg *arg) { focusclient(c, 1); arrange(selmon, false); } - warp_cursor_to_selmon(c->mon); + if (warpcursor) { + warp_cursor_to_selmon(c->mon); + } return 0; } @@ -1528,4 +1532,4 @@ int toggleoverview(const Arg *arg) { refresh_monitors_workspaces_status(selmon); return 0; -} \ No newline at end of file +}