aboutsummaryrefslogtreecommitdiff
path: root/util/array.c
AgeCommit message (Collapse)Author
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