Compare commits
4 Commits
pulseaudio
...
3.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
134d33d1bb | ||
|
|
12d0891fba | ||
|
|
b33f5eef39 | ||
|
|
750f8223d3 |
@@ -1,7 +1,7 @@
|
||||
# Maintainer: Michael Carlberg <c@rlberg.se>
|
||||
# Contributor: Michael Carlberg <c@rlberg.se>
|
||||
pkgname=polybar
|
||||
pkgver=3.2.0
|
||||
pkgver=3.2.1
|
||||
pkgrel=1
|
||||
pkgdesc="A fast and easy-to-use status bar"
|
||||
arch=("i686" "x86_64")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma once
|
||||
|
||||
#define GIT_TAG "3.2.0"
|
||||
#define GIT_TAG_NAMESPACE v3_2_0
|
||||
#define GIT_TAG "3.2.1"
|
||||
#define GIT_TAG_NAMESPACE v3_2_1
|
||||
|
||||
@@ -348,7 +348,12 @@ 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{});
|
||||
} else {
|
||||
// bypass the start eventqueue signal
|
||||
m_sig.emit(signals::ui::ready{});
|
||||
}
|
||||
|
||||
while (!g_terminate) {
|
||||
event evt{};
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace drawtypes {
|
||||
}
|
||||
|
||||
icon_t ramp::get_by_percentage(float percentage) {
|
||||
size_t index = percentage * (m_icons.size() - 1) / 100.0f + 0.5f;
|
||||
size_t index = percentage * m_icons.size() / 100.0f;
|
||||
return m_icons[math_util::cap<size_t>(index, 0, m_icons.size() - 1)];
|
||||
}
|
||||
|
||||
|
||||
@@ -223,10 +223,8 @@ namespace modules {
|
||||
|
||||
if (cmd.compare(0, strlen(EVENT_CLICK), EVENT_CLICK) == 0) {
|
||||
cmd.erase(0, strlen(EVENT_CLICK));
|
||||
if (i3_util::focused_workspace(conn)->name != cmd) {
|
||||
m_log.info("%s: Sending workspace focus command to ipc handler", name());
|
||||
conn.send_command("workspace " + cmd);
|
||||
}
|
||||
m_log.info("%s: Sending workspace focus command to ipc handler", name());
|
||||
conn.send_command("workspace " + cmd);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user