Of course I'm inaccurate, but here are 3 fixes, now it should be perfect
to merge.
Leonid Bobrov (3):
Use a better cursor for New and Resize
Fix weird output from Resize
Fix x and y positions when cursor is reflecting view
input.c | 9 +++++----
view.c | 4 ++--
2 files changed, 7 insertions(+), 6 deletions(-)
--
2.26.2
[PATCH wio 1/3] Use a better cursor for New and Resize
From: Leonid Bobrov <goleo@disroot.org>
---
view.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/view.c b/view.c
index 8ed91ee..3b1e38d 100644
--- a/view.c+++ b/view.c
@@ -6,8 +6,8 @@
#include "view.h"
// TODO: scale
-#define less_swap1(A, B) { if (A < B) { int C = A; A = B + window_border * 2; B = C + window_border * 2; } }-#define less_swap2(A, B) { if (A < B) { int C = A; A = B - window_border * 2; B = C - window_border * 2; } }+#define less_swap1(A, B) { if (A < B) { int C = A; A = B; B = C + window_border * 2; } }+#define less_swap2(A, B) { if (A < B) { int C = A; A = B - window_border * 2; B = C; } }static void xdg_surface_map(struct wl_listener *listener, void *data) {
struct wio_view *view = wl_container_of(listener, view, map);
--
2.26.2