imv/src
Simon Ser 1817ef3df1 wl_window: fix buffer size not divisible by scale
Do not commit the surface with the new scale and the old buffer.
Leave it to the next rendering pass to commit the surface.

Fixes the following protocol error:

    wl_surface@10: error 2: Buffer size (717x795) is not divisible by scale (2)

Closes: https://todo.sr.ht/~exec64/imv/20
2023-01-18 21:37:38 +00:00
..
backend.h treewide: fix typos 2020-08-31 13:56:50 +01:00
backend_freeimage.c Include string header 2021-04-14 15:28:52 +01:00
backend_libheif.c Add HEIF support 2020-05-21 11:31:04 +01:00
backend_libjpeg.c fix double-free when backend libjpeg is used 2021-06-24 21:22:13 +01:00
backend_libnsgif.c source/backend: Improve comments 2019-09-02 22:47:40 +01:00
backend_libpng.c png: Increase max data chunk size 2019-11-05 21:14:17 +00:00
backend_librsvg.c Fix the name of the GNU LGPL 2019-12-21 21:59:15 +00:00
backend_libtiff.c Also suppress TIFF errors from stdin 2021-07-09 00:18:47 +01:00
binds.c binds: Fix memory leak 2019-08-15 00:40:19 +01:00
binds.h Big glfw refactor 2019-07-03 20:50:19 +01:00
bitmap.c Tweak allocation sizeof operator usage 2019-02-10 00:49:27 +00:00
bitmap.h Improve header commenting 2019-08-21 20:16:43 +01:00
canvas.c Move Cairo layout creation and display code to two separate functions 2021-11-30 18:14:43 +00:00
canvas.h Move Cairo layout creation and display code to two separate functions 2021-11-30 18:14:43 +00:00
commands.c Improve header commenting 2019-08-21 20:16:43 +01:00
commands.h Improve header commenting 2019-08-21 20:16:43 +01:00
console.c console: update libgrapheme API to version 1 2021-12-22 18:23:07 +00:00
console.h console: Use icu to provide proper UTF-8 editing 2019-09-02 15:54:50 +01:00
dummy_window.c Remove unused imv_window_get_keymap function 2019-08-25 00:36:44 +01:00
image.c Fix librsvg usage to prevent memory leak 2020-07-21 01:47:24 +01:00
image.h Big glfw refactor 2019-07-03 20:50:19 +01:00
imv.c Add '-w' option to specify window title at startup 2021-12-08 21:12:20 +00:00
imv.h imv: Use generic list for backends, not a linked list 2019-08-21 20:29:36 +01:00
imv_msg.c Add imv-msg command 2019-08-12 20:10:48 +01:00
ipc.c imv, ipc: improve error checking for ipc creation. 2020-11-16 22:12:07 +00:00
ipc.h Improve header commenting 2019-08-21 20:16:43 +01:00
ipc_common.c Add imv-msg command 2019-08-12 20:10:48 +01:00
keyboard.c wl_window: Implement key repeating 2019-08-25 00:32:25 +01:00
keyboard.h wl_window: Implement key repeating 2019-08-25 00:32:25 +01:00
list.c imv: Add -c option to specify commands to run at startup 2019-08-18 15:08:02 +01:00
list.h treewide: fix typos 2020-08-31 13:56:50 +01:00
log.c Big glfw refactor 2019-07-03 20:50:19 +01:00
log.h Big glfw refactor 2019-07-03 20:50:19 +01:00
main.c Make freeimage backend have preceedence over libjpeg 2021-08-05 21:01:30 +00:00
navigator.c Don't stop listing files in dir when stat fail 2021-07-08 23:16:08 +01:00
navigator.h imv: Add index/all argument to close command 2019-08-16 19:08:54 +01:00
source.c source: Refactor out common async logic 2019-08-30 00:40:29 +01:00
source.h source: Refactor out common async logic 2019-08-30 00:40:29 +01:00
source_private.h source/backend: Improve comments 2019-09-02 22:47:40 +01:00
viewport.c Fix zoom speed dependence on buffer/image width 2021-07-08 23:17:35 +01:00
viewport.h Unify rotation commands, reset transformation properly 2020-06-12 01:00:10 +01:00
window.h Scale fonts when Wayland updates scaling factor 2021-07-29 17:01:31 +00:00
wl_window.c wl_window: fix buffer size not divisible by scale 2023-01-18 21:37:38 +00:00
x11_window.c x11_window: Fix typo in if statement 2021-12-08 22:03:26 +00:00
xdg-shell-client-protocol.h Create initial imv_window 2019-07-12 00:13:06 +01:00
xdg-shell-protocol.c Create initial imv_window 2019-07-12 00:13:06 +01:00