1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-11-11 13:50:56 -05:00
polybar/include/events/signal_fwd.hpp
Patrick Ziegler 8afd5b71df
Integrate bar taskqueue into eventloop (#2510)
* Remove DEBUG_SHADED

Was disabled by default AND behind an #if 0

* Make TimerHandle expose more libuv functions

* Prepare for moving double clicks into eventloop

* Make eventloop available to bar

* Remove bar mutex

Everything in the bar is now in the same thread

* Move double-click handling to eventloop

* Extract double click deferred function into method

* Stop throttling clicks

* Increase double click interval to 400 and add option

double-click-interval in the bar section

Closes #1441

* Implement dimming using timer handles

* Remove taskqueue

* Remove unused dependencies

* Cleanup & Comments
2021-09-27 17:35:45 +02:00

43 lines
851 B
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 exit_reload;
struct notify_change;
struct notify_forcechange;
struct check_state;
} // namespace eventqueue
namespace ipc {
struct command;
struct hook;
struct action;
} // namespace ipc
namespace ui {
struct changed;
struct button_press;
struct cursor_change;
struct visibility_change;
struct dim_window;
struct request_snapshot;
struct update_background;
struct update_geometry;
} // namespace ui
namespace ui_tray {
struct mapped_clients;
}
} // namespace signals
POLYBAR_NS_END