[Xfce4-commits] [xfce/xfwm4] 01/01: compositor: Fix initial pointer location when zooming
noreply at xfce.org
noreply at xfce.org
Sat May 18 21:53:21 CEST 2019
This is an automated email from the git hooks/post-receive script.
o l i v i e r p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfwm4.
commit 79453f7c2174351b85fff8972024da65c87db0a2
Author: Olivier Fourdan <fourdan at xfce.org>
Date: Sat May 18 21:49:49 2019 +0200
compositor: Fix initial pointer location when zooming
Fix a typo when initializing the pointer location when starting to zoom
in.
Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
src/compositor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/compositor.c b/src/compositor.c
index d8ae152..d8b361d 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -4208,7 +4208,7 @@ compositorZoomIn (ScreenInfo *screen_info, XfwmEventButton *event)
{
XFixesHideCursor (screen_info->display_info->dpy, screen_info->xroot);
screen_info->cursorLocation.x = event->x_root - screen_info->cursorOffsetX;
- screen_info->cursorLocation.x = event->y_root - screen_info->cursorOffsetY;
+ screen_info->cursorLocation.y = event->y_root - screen_info->cursorOffsetY;
}
screen_info->zoomed = TRUE;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list