aboutsummaryrefslogtreecommitdiff
path: root/include/util/array.h
AgeCommit message (Collapse)Author
2021-07-01util/array: add array_remove_atSimon Ser
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