wlroots-hyprland/util
Ashkan Kiani 06a13203dd Use a set to track pointer button state.
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
2019-06-16 00:59:53 +03:00
..
array.c Use a set to track pointer button state. 2019-06-16 00:59:53 +03:00
log.c util/log: setup wayland log handler 2019-04-07 16:09:00 -06:00
meson.build util: use shm_open for in-memory files 2018-10-28 22:39:54 +01:00
region.c Fix implicit conversion of floats to ints in calls to pixman_region32_contains_point 2018-09-18 13:05:44 +02:00
shm.c Use ftruncate to set shared memory object's size 2018-11-09 18:29:19 +01:00
signal.c Make wlr_signal_emit_safe private 2018-02-12 19:52:47 +01:00