mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-16 16:25:39 +02:00
modules: implement description()
This commit is contained in:
parent
97d5570daf
commit
ed2b8c4874
14 changed files with 116 additions and 0 deletions
|
@ -36,6 +36,12 @@ struct private {
|
|||
xcb_window_t active_win;
|
||||
};
|
||||
|
||||
static const char *
|
||||
description(struct module *mod)
|
||||
{
|
||||
return "xwindow";
|
||||
}
|
||||
|
||||
static void
|
||||
update_active_window(struct private *m)
|
||||
{
|
||||
|
@ -332,6 +338,7 @@ xwindow_new(struct particle *label)
|
|||
mod->run = &run;
|
||||
mod->destroy = &destroy;
|
||||
mod->content = &content;
|
||||
mod->description = &description;
|
||||
return mod;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue