forked from external/yambar
We only care about the mouse. We now track per-seat cursor positions and cursor themes. Any enter/leave/motion/button event will call the bar on_mouse() method using the coordinates from the "current" seat. Since the bar framework doesn't deal with multi-seats at all, we internally, in the backend, track the currently active seat. This is the seat which we last saw any kind of events from. This is used in e.g. set_cursor(), which is called from the bar. |
||
---|---|---|
.. | ||
backend.h | ||
bar.c | ||
bar.h | ||
meson.build | ||
private.h | ||
wayland.c | ||
wayland.h | ||
xcb.c | ||
xcb.h |