Commit graph

3 commits

Author SHA1 Message Date
speedie 1153d416ab replace almost all /* style comments with // where it makes sense 2023-03-16 16:54:36 +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 61d9813387 don't allow the image to be scaled up beyond menu width 2023-03-08 18:20:27 +01:00