Commit graph

7 commits

Author SHA1 Message Date
speedie b798d12c69 add image gap keybind 2023-03-08 20:13:39 +01:00
speedie 4e193772a0 some minor changes 2023-03-08 19:46:33 +01:00
speedie 3d9b58b9e7 add keybind for changing image position 2023-03-08 19:41:59 +01:00
speedie 91cc7782f7 greatly speed up image redrawing/resizing by removing unnecessary calls
to drawimage() and cleanupimage()

we don't need to call cleanupimage() as it is already called in
cleanup()

we don't need to call drawimage() because X11 events should handle that
for us anyway
2023-03-08 18:58:52 +01:00
speedie 6a83ac707e move image size stuff to a separate function we can call on demand 2023-03-08 17:50:58 +01:00
speedie 3e0bf9cd83 cleanup all gcc warnings 2023-03-06 21:19:12 +01:00
speedie 04dd819ffb move all const Arg arg functions to libs/arg.c 2023-03-06 21:03:06 +01:00