|
|
@ -2979,9 +2979,12 @@ touch_handle_down(void *data, struct wl_touch *wl_touch, |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
widget = window_find_widget(input->touch_focus, |
|
|
|
if (input->grab) |
|
|
|
wl_fixed_to_double(x_w), |
|
|
|
widget = input->grab; |
|
|
|
wl_fixed_to_double(y_w)); |
|
|
|
else |
|
|
|
|
|
|
|
widget = window_find_widget(input->touch_focus, |
|
|
|
|
|
|
|
wl_fixed_to_double(x_w), |
|
|
|
|
|
|
|
wl_fixed_to_double(y_w)); |
|
|
|
if (widget) { |
|
|
|
if (widget) { |
|
|
|
struct touch_point *tp = xmalloc(sizeof *tp); |
|
|
|
struct touch_point *tp = xmalloc(sizeof *tp); |
|
|
|
if (tp) { |
|
|
|
if (tp) { |
|
|
|