Skip to content

Commit

Permalink
fix(controller): don't draw window if writing to stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
NBonaparte committed Jul 18, 2018
1 parent 028b141 commit 6d93437
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/controller.cpp
Expand Up @@ -348,7 +348,9 @@ void controller::read_events() {
*/
void controller::process_eventqueue() {
m_log.info("Eventqueue worker (thread-id=%lu)", this_thread::get_id());
m_sig.emit(signals::eventqueue::start{});
if (!m_writeback) {
m_sig.emit(signals::eventqueue::start{});
}

while (!g_terminate) {
event evt{};
Expand Down

0 comments on commit 6d93437

Please sign in to comment.