input_state: Remove mouse_origin (x&y). Query wlc instead.

This commit is contained in:
S. Christoffer Eliesen 2015-10-29 18:02:02 +01:00
parent 78ca619769
commit 5ba47d4a44
4 changed files with 17 additions and 20 deletions

View file

@ -343,10 +343,6 @@ static bool handle_pointer_button(wlc_handle view, uint32_t time, const struct w
// Update view pointer is on
pointer_state.view = container_under_pointer();
// Update pointer origin
pointer_state.origin.x = origin->x;
pointer_state.origin.y = origin->y;
// Update pointer_state
switch (button) {
case M_LEFT_CLICK: