polybar-dwm/include/events/signal_fwd.hpp
patrick96 57d364a2fc Reset all tags at the end of a module
The %{PR} tag is introduced for this. It resets all colors as well as
the activation of the underline and overline and font.

This has become necessary because we don't track what raw tags a user
injects into the formatting string and otherwise their raw tags could
bleed through.

This doesn't touch action tags because even before raw action tags
weren't being tracked. Action tags also have the requirement that they
have to be used in pairs, so closing them prematurely could break things
(for example with click actions for the entire bar)
2019-08-06 21:36:20 +02:00

67 lines
1.3 KiB
C++

#pragma once
#include "common.hpp"
POLYBAR_NS
class signal_emitter;
class signal_receiver_interface;
template <int Priority, typename Signal, typename... Signals>
class signal_receiver;
namespace signals {
namespace detail {
class signal;
}
namespace eventqueue {
struct start;
struct exit_terminate;
struct exit_reload;
struct notify_change;
struct notify_forcechange;
struct check_state;
}
namespace ipc {
struct command;
struct hook;
struct action;
}
namespace ui {
struct ready;
struct changed;
struct tick;
struct button_press;
struct cursor_change;
struct visibility_change;
struct dim_window;
struct shade_window;
struct unshade_window;
struct request_snapshot;
struct update_background;
struct update_geometry;
}
namespace ui_tray {
struct mapped_clients;
}
namespace parser {
struct change_background;
struct change_foreground;
struct change_underline;
struct change_overline;
struct change_font;
struct change_alignment;
struct reverse_colors;
struct offset_pixel;
struct attribute_set;
struct attribute_unset;
struct attribute_toggle;
struct action_begin;
struct action_end;
struct text;
struct control;
}
}
POLYBAR_NS_END