spmenu/libs
speedie b59f851fdc Rewrite the way moving around works
It seemed like a good thing at first to combine all the movement stuff
in a single function, however as soon as you want to move multiple lines
at once it becomes very difficult to do that, especially if you aren't
familiar with C.

This commit splits it into 4 separate functions, where the argument
(arg->i) is how many times we move. This means it is now possible to
choose how many lines to move without even editing the function itself,
just through keybinds. This also makes the "fastmove" keybindings
redundant.

Note that calcoffsets() and drawmenu() after that must be called AFTER the for loop added with this commit, otherwise
you can see the selection moving from each line to the next which is
rather ugly.
2023-03-20 18:05:53 +01:00
..
sl fix small warnings gcc will spit out if features have been disabled 2023-03-09 17:26:56 +01:00
arg.c Rewrite the way moving around works 2023-03-20 18:05:53 +01:00
arg.h Rewrite the way moving around works 2023-03-20 18:05:53 +01:00
argv.c add support for overriding minimum width through config 2023-03-19 15:00:32 +01:00
argv.h Move usage() to argv.c 2023-03-02 18:17:11 +01:00
client.c don't allow resizing client beyond number of items 2023-03-19 14:26:36 +01:00
client.h add keybinds for setting line/columns 2023-03-13 22:45:04 +01:00
colors.h replace almost all /* style comments with // where it makes sense 2023-03-16 16:54:36 +01:00
define.c fix a possible segmentation fault 2023-03-18 13:07:15 +01:00
draw.c fix a possible segmentation fault 2023-03-18 13:07:15 +01:00
event.c replace almost all /* style comments with // where it makes sense 2023-03-16 16:54:36 +01:00
event.h don't allow the image to be scaled up beyond menu width 2023-03-08 18:20:27 +01:00
img-c.c replace almost all /* style comments with // where it makes sense 2023-03-16 16:54:36 +01:00
img-c.h some cleanup to the general codebase 2023-03-13 21:21:40 +01:00
img.c some cleanup to the general codebase 2023-03-13 21:21:40 +01:00
img.h some cleanup to the general codebase 2023-03-13 21:21:40 +01:00
key.c replace almost all /* style comments with // where it makes sense 2023-03-16 16:54:36 +01:00
key.h some cleanup to the general codebase 2023-03-13 21:21:40 +01:00
key_struct.c some cleanup, start using // comments more 2023-03-16 10:09:51 +01:00
match.c replace almost all /* style comments with // where it makes sense 2023-03-16 16:54:36 +01:00
match.h some cleanup to the general codebase 2023-03-13 21:21:40 +01:00
mode.c change the way keybinds work 2023-03-06 14:15:01 +01:00
mode.h replace almost all /* style comments with // where it makes sense 2023-03-16 16:54:36 +01:00
mouse.c replace almost all /* style comments with // where it makes sense 2023-03-16 16:54:36 +01:00
mouse.h move more stuff to libs/ 2023-03-08 17:20:32 +01:00
rtl-c.c some cleanup to the general codebase 2023-03-13 21:21:40 +01:00
rtl-c.h replace almost all /* style comments with // where it makes sense 2023-03-16 16:54:36 +01:00
rtl.c fix !USERTL 2023-03-17 15:35:40 +01:00
rtl.h some cleanup to the general codebase 2023-03-13 21:21:40 +01:00
schemes.c replace almost all /* style comments with // where it makes sense 2023-03-16 16:54:36 +01:00
schemes.h replace almost all /* style comments with // where it makes sense 2023-03-16 16:54:36 +01:00
sort.c fix fuzzy sorting 2023-03-09 11:56:44 +01:00
sort.h fix fuzzy sorting 2023-03-09 11:56:44 +01:00
xrdb.c move some stuff to libs/ in an effort to clean up 2023-02-26 05:13:40 +01:00
xrdb.h replace almost all /* style comments with // where it makes sense 2023-03-16 16:54:36 +01:00
xresources.h some config changes, nothing major 2023-03-18 18:16:20 +01:00