polybar-dwm/include/modules
patrick96 1a59599388 fix(modules): Avoid downcast in module constructor
The previous CAST_MOD(Impl) for the action_router constructor was
illegal because `this` is not yet of type Impl (because the subclass
constructor has not run yet).

The action_router now accepts std::function for its callbacks.

Fixes #2519
2021-10-03 03:18:39 +02:00
..
meta fix(modules): Avoid downcast in module constructor 2021-10-03 03:18:39 +02:00
alsa.hpp module: Implement action router (#2336) 2021-01-04 10:25:52 +01:00
backlight.hpp feat(backlight): add use-actual-brightness option (#2380) 2021-02-16 10:02:33 +01:00
battery.hpp Add compiler warning for missing override specifier (#2341) 2021-01-04 10:38:43 +01:00
bspwm.hpp feat(bspwm): Option to scroll through occupied desktops only (#2428) 2021-05-13 12:59:13 +02:00
counter.hpp refactor: Move module type string into modules 2020-11-26 20:53:53 +01:00
cpu.hpp feat: Warn state for cpu, memory, fs, battery modules (#2199) 2020-12-02 15:55:13 +01:00
date.hpp module: Implement action router (#2336) 2021-01-04 10:25:52 +01:00
fs.hpp Remove undefined behaviors and clean code (#1769) 2021-02-15 23:32:56 +01:00
github.hpp refactor: Move module type string into modules 2020-11-26 20:53:53 +01:00
i3.hpp feat(conf): Option to always show urgent workspaces in i3 (#2378) 2021-02-15 21:31:34 +01:00
ipc.hpp Stop ipc_module subclassing static_module 2021-09-30 15:38:18 +02:00
memory.hpp feat: Warn state for cpu, memory, fs, battery modules (#2199) 2020-12-02 15:55:13 +01:00
menu.hpp Remove atomic members from static modules 2021-09-30 15:38:18 +02:00
mpd.hpp module: Implement action router (#2336) 2021-01-04 10:25:52 +01:00
network.hpp feat(network): Ability to change speed unit text (B/s) (#2068) 2020-11-29 14:15:27 +01:00
pulseaudio.hpp module: Implement action router (#2336) 2021-01-04 10:25:52 +01:00
script.hpp script: Fix concurrency issues (#2518) 2021-10-03 01:27:11 +02:00
systray.hpp module: Implement action router (#2336) 2021-01-04 10:25:52 +01:00
temperature.hpp feat: Warn state for cpu, memory, fs, battery modules (#2199) 2020-12-02 15:55:13 +01:00
text.hpp refactor: Move module type string into modules 2020-11-26 20:53:53 +01:00
unsupported.hpp Universal Visibility Action (#2320 cont'd) (#2426) 2021-07-07 21:43:49 +02:00
xbacklight.hpp Remove atomic members from static modules 2021-09-30 15:38:18 +02:00
xkeyboard.hpp Add compiler warning for missing override specifier (#2341) 2021-01-04 10:38:43 +01:00
xwindow.hpp Add compiler warning for missing override specifier (#2341) 2021-01-04 10:38:43 +01:00
xworkspaces.hpp Remove main thread from static_module 2021-09-30 15:38:18 +02:00