blob: 38101332906230e762557aeb4ea02f92e5f2e08f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
https://github.com/eXeC64/imv/issues/305
--- a/src/wl_window.c 2020-12-17 15:30:42.000000000 -0500
+++ b/src/wl_window.c 2021-02-02 19:03:52.598901093 -0500
@@ -545,2 +545,3 @@
wl_surface_commit(window->wl_surface);
+ wl_display_roundtrip(window->wl_display);
size_t buffer_width = window->width * window->scale;
@@ -636,4 +637,4 @@
.height = window->height,
- .buffer_width = window->width * window->scale,
- .buffer_height = window->height * window->scale
+ .buffer_width = buffer_width,
+ .buffer_height = buffer_height,
}
|