mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
alt text readded
This commit is contained in:
parent
d9cc995405
commit
a2751cfcd6
@ -250,6 +250,9 @@ const std::string UPower::getDeviceStatus(UpDeviceState& state) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool UPower::handleToggle(GdkEventButton* const& event) {
|
bool UPower::handleToggle(GdkEventButton* const& event) {
|
||||||
|
std::lock_guard<std::mutex> guard(m_Mutex);
|
||||||
|
showAltText = !showAltText;
|
||||||
|
dp.emit();
|
||||||
return AModule::handleToggle(event);
|
return AModule::handleToggle(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user