diff --git a/src/devices/Keyboard.cpp b/src/devices/Keyboard.cpp index f77829a7..ae28c07d 100644 --- a/src/devices/Keyboard.cpp +++ b/src/devices/Keyboard.cpp @@ -30,7 +30,7 @@ CKeyboard::CKeyboard(SP keeb) : keyboard(keeb) { }); listeners.key = keeb->events.key.registerListener([this](std::any d) { - auto E = std::any_cast(d); + auto E = std::any_cast(d); updateXkbStateWithKey(E.key + 8, E.pressed); diff --git a/src/devices/Tablet.cpp b/src/devices/Tablet.cpp index a1f642df..71ca8991 100644 --- a/src/devices/Tablet.cpp +++ b/src/devices/Tablet.cpp @@ -224,7 +224,7 @@ CTabletTool::CTabletTool(SP tool_) : tool(tool_) { if (!tool) return; - listeners.destroyTool = tool->events.destroy.registerListener([this] (std::any d) { + listeners.destroyTool = tool->events.destroy.registerListener([this](std::any d) { tool.reset(); events.destroy.emit(); }); diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp index ad5b0199..196f44df 100644 --- a/src/helpers/Monitor.cpp +++ b/src/helpers/Monitor.cpp @@ -791,14 +791,14 @@ bool CMonitorState::test() { } bool CMonitorState::updateSwapchain() { - auto options = m_pOwner->output->swapchain->currentOptions(); - const auto& STATE = m_pOwner->output->state->state(); - const auto& MODE = STATE.mode ? STATE.mode : STATE.customMode; + auto options = m_pOwner->output->swapchain->currentOptions(); + const auto& STATE = m_pOwner->output->state->state(); + const auto& MODE = STATE.mode ? STATE.mode : STATE.customMode; if (!MODE) return true; - options.format = STATE.drmFormat; + options.format = STATE.drmFormat; options.scanout = true; - options.length = 2; - options.size = MODE->pixelSize; + options.length = 2; + options.size = MODE->pixelSize; return m_pOwner->output->swapchain->reconfigure(options); } diff --git a/src/managers/eventLoop/EventLoopManager.hpp b/src/managers/eventLoop/EventLoopManager.hpp index d5b640a3..eff281d6 100644 --- a/src/managers/eventLoop/EventLoopManager.hpp +++ b/src/managers/eventLoop/EventLoopManager.hpp @@ -8,7 +8,7 @@ #include "EventLoopTimer.hpp" namespace Aquamarine { - struct SPollFD; + struct SPollFD; }; class CEventLoopManager {