Modular status panel for X11 and Wayland, inspired by https://github.com/jaagr/polybar
Find a file
Daniel Eklöf 7670473735 bar: call exposable's on_mouse() on mouse motion events
For this to be doable, the bar no longer destroys the module's
exposables after rendering them. Instead, we keep them around, letting
them represent the "current" content of the bar.

Then, when we receive a mouse motion event, we can iterate the
exposables and calculate which one of them the mouse is over, and call
its on_mouse() function.
2018-12-29 12:56:10 +01:00
decorations decoration: stack: stacks multiple decorations on top of each other 2018-12-26 15:59:48 +01:00
modules module/mpd: cleanup 2018-12-28 15:26:22 +01:00
particles exposable: add a "common" constructor and default destructor 2018-12-29 12:51:31 +01:00
.gitignore initial commit: wip 2018-11-17 11:30:33 +01:00
bar.c bar: call exposable's on_mouse() on mouse motion events 2018-12-29 12:56:10 +01:00
bar.h bar: set_cursor(): new interface function, to set the X cursor 2018-12-26 17:16:54 +01:00
CMakeLists.txt particle/progress-bar: renders a progrss-bar-like thingy 2018-12-27 14:22:05 +01:00
color.h initial commit: wip 2018-11-17 11:30:33 +01:00
config.c config: raise default battery poll interval from 30s to 60s 2018-12-28 12:41:38 +01:00
config.h initial commit: wip 2018-11-17 11:30:33 +01:00
decoration.h decoration: configurable graphical effects, added to a particle 2018-12-26 15:30:47 +01:00
font.c initial commit: wip 2018-11-17 11:30:33 +01:00
font.h initial commit: wip 2018-11-17 11:30:33 +01:00
log.c log: add LOG_ERRNO() 2018-12-19 21:01:01 +01:00
log.h log: add LOG_ERRNO() 2018-12-19 21:01:01 +01:00
main.c main: no need for EFD_NONBLOCK 2018-12-28 12:41:21 +01:00
module.c module: add a refresh_in() interface function 2018-12-28 12:42:08 +01:00
module.h module: re-order function pointer declarations 2018-12-29 12:49:25 +01:00
particle.c exposable: add a "common" constructor and default destructor 2018-12-29 12:51:31 +01:00
particle.h exposable: define an 'on_mouse' interface function 2018-12-29 12:55:51 +01:00
tag.c tag: add realtime unit MSECS (milliseconds) 2018-12-28 14:05:02 +01:00
tag.h tag: add realtime unit MSECS (milliseconds) 2018-12-28 14:05:02 +01:00
tllist.h tllist: cast away const in tll_{r,}foreach() 2018-12-15 11:46:34 +01:00
xcb.c xcb: use new log framework 2018-12-17 20:25:27 +01:00
xcb.h xcb: add xcb_init(): checks the x server + extensions, and caches atoms 2018-11-17 11:47:34 +01:00
yml.c yml: bump anchor vector size 2018-12-26 15:31:37 +01:00
yml.h initial commit: wip 2018-11-17 11:30:33 +01:00