Signed-off-by: Jason Ekstrand <[email protected]>
---
 src/compositor-wayland.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c
index 5f691a7..181d6bb 100644
--- a/src/compositor-wayland.c
+++ b/src/compositor-wayland.c
@@ -862,8 +862,6 @@ input_handle_pointer_enter(void *data, struct wl_pointer 
*pointer,
                location = THEME_LOCATION_CLIENT_AREA;
        }
 
-       x += wl_fixed_from_int(input->output->base.x);
-       y += wl_fixed_from_int(input->output->base.y);
        weston_output_transform_coordinate(&input->output->base, x, y, &x, &y);
 
        if (location == THEME_LOCATION_CLIENT_AREA) {
@@ -918,8 +916,6 @@ input_handle_motion(void *data, struct wl_pointer *pointer,
                location = THEME_LOCATION_CLIENT_AREA;
        }
 
-       x += wl_fixed_from_int(input->output->base.x);
-       y += wl_fixed_from_int(input->output->base.y);
        weston_output_transform_coordinate(&input->output->base, x, y, &x, &y);
 
        if (input->focus && location != THEME_LOCATION_CLIENT_AREA) {
-- 
1.8.3.1

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to