diff options
author | Pekka Paalanen <ppaalanen@gmail.com> | 2012-02-13 15:33:28 +0200 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-02-16 23:19:40 -0500 |
commit | dfb93a9e7123971c646ef34553e0c70f1283e1f1 (patch) | |
tree | dc322d61babfe5cf23ebf6590b0b374d9d1b1341 /clients | |
parent | e47c3a342b109c0159da030a4e4786a1ea8138c7 (diff) |
window: do not store absolute coordinates
These were not used for anything, anyway.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
Diffstat (limited to 'clients')
-rw-r--r-- | clients/window.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/clients/window.c b/clients/window.c index 59fa684..e7feb85 100644 --- a/clients/window.c +++ b/clients/window.c @@ -161,7 +161,7 @@ struct input { struct window *keyboard_focus; uint32_t current_pointer_image; uint32_t modifiers; - int32_t x, y, sx, sy; + int32_t sx, sy; struct wl_list link; struct widget *focus_widget; @@ -1482,8 +1482,6 @@ input_handle_motion(void *data, struct wl_input_device *input_device, struct widget *widget; int pointer = POINTER_LEFT_PTR; - input->x = x; - input->y = y; input->sx = sx; input->sy = sy; @@ -1614,8 +1612,6 @@ input_handle_pointer_focus(void *data, input->pointer_focus = wl_surface_get_user_data(surface); window = input->pointer_focus; - input->x = x; - input->y = y; input->sx = sx; input->sy = sy; |