drag_pointer(): add use_treshold parameter

This commit is contained in:
Albert Safin
2018-12-12 15:35:11 +07:00
parent 2795c51d4b
commit 551ec20941
4 changed files with 62 additions and 21 deletions

View File

@ -208,7 +208,7 @@ void resize_graphical_handler(Con *first, Con *second, orientation_t orientation
const struct callback_params params = {orientation, output, helpwin, &new_position};
/* `drag_pointer' blocks until the drag is completed. */
drag_result_t drag_result = drag_pointer(NULL, event, grabwin, 0, resize_callback, &params);
drag_result_t drag_result = drag_pointer(NULL, event, grabwin, 0, false, resize_callback, &params);
xcb_destroy_window(conn, helpwin);
xcb_destroy_window(conn, grabwin);