aboutsummaryrefslogtreecommitdiff
path: root/util/array.c
AgeCommit message (Collapse)Author
2022-08-29util/array: unclutterKirill Primak
2022-08-19util/array: Add array_realloc for wl_arrayKenny Levinsen
array_realloc will grow the array for the target size like wl_insert_add, but will also shrink the array if the target size is sufficiently smaller than the current allocation.
2021-07-01util/array: add array_remove_atSimon Ser
2019-11-27virtual_keyboard: Accept keycode 0Dorota Czaplejewicz
2019-06-16Use a set to track pointer button state.Ashkan Kiani
In addition to `button_count`, we keep track of the current buttons pressed just as in `wlr_keyboard`. Add `set_add` and `set_remove` to assist with this. These functions can only be used with values greater than 0 (such as the button/key masks for keyboards and pointers). Partially addresses: - https://github.com/swaywm/wlroots/issues/1716 - https://github.com/swaywm/wlroots/issues/1593
2018-07-14Another round of feedback from acrisciMarkus Ongyerth