aboutsummaryrefslogtreecommitdiff
path: root/src/capture/xcomposite.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-09-14 01:57:00 +0200
committerdec05eba <dec05eba@protonmail.com>2024-09-14 02:27:48 +0200
commit714561987e264c5f3e9fb01d9ebbf545225b35b7 (patch)
tree94fc3c271516b873d2f0b3c463fa81c590e849bd /src/capture/xcomposite.c
parent8acb34638212ab8dba0d48a57dd40721203a7a44 (diff)
Properly damage if moving cursor
Only damage if cursor is inside the target area
Diffstat (limited to 'src/capture/xcomposite.c')
-rw-r--r--src/capture/xcomposite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/capture/xcomposite.c b/src/capture/xcomposite.c
index e99cabf..1b6021b 100644
--- a/src/capture/xcomposite.c
+++ b/src/capture/xcomposite.c
@@ -230,7 +230,7 @@ static void gsr_capture_xcomposite_on_event(gsr_capture *cap, gsr_egl *egl) {
}
}
- gsr_cursor_update(&self->cursor, xev);
+ gsr_cursor_on_event(&self->cursor, xev);
}
static bool gsr_capture_xcomposite_should_stop(gsr_capture *cap, bool *err) {