aboutsummaryrefslogtreecommitdiff
path: root/src/egl.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/egl.c
parent8acb34638212ab8dba0d48a57dd40721203a7a44 (diff)
Properly damage if moving cursor
Only damage if cursor is inside the target area
Diffstat (limited to 'src/egl.c')
-rw-r--r--src/egl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl.c b/src/egl.c
index ea69796..b4e3902 100644
--- a/src/egl.c
+++ b/src/egl.c
@@ -676,7 +676,7 @@ void gsr_egl_unload(gsr_egl *self) {
memset(self, 0, sizeof(gsr_egl));
}
-bool gsr_egl_update(gsr_egl *self) {
+bool gsr_egl_process_event(gsr_egl *self) {
switch(gsr_egl_get_display_server(self)) {
case GSR_DISPLAY_SERVER_X11: {
if(XPending(self->x11.dpy)) {