refactor(modules): Make all modules input handlers
By default they will return false for calls to `input`
This commit is contained in:
parent
457e37faaf
commit
4b5007294b
15 changed files with 41 additions and 28 deletions
include/modules
|
@ -4,7 +4,6 @@
|
|||
#include "components/config.hpp"
|
||||
#include "components/types.hpp"
|
||||
#include "modules/meta/event_handler.hpp"
|
||||
#include "modules/meta/input_handler.hpp"
|
||||
#include "modules/meta/static_module.hpp"
|
||||
#include "x11/extensions/xkb.hpp"
|
||||
#include "x11/window.hpp"
|
||||
|
@ -19,8 +18,7 @@ namespace modules {
|
|||
*/
|
||||
class xkeyboard_module
|
||||
: public static_module<xkeyboard_module>,
|
||||
public event_handler<evt::xkb_new_keyboard_notify, evt::xkb_state_notify, evt::xkb_indicator_state_notify>,
|
||||
public input_handler {
|
||||
public event_handler<evt::xkb_new_keyboard_notify, evt::xkb_state_notify, evt::xkb_indicator_state_notify> {
|
||||
public:
|
||||
explicit xkeyboard_module(const bar_settings& bar, string name_);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue