diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-07-13 12:36:29 +0200 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-07-13 12:36:35 +0200 |
| commit | 13bc7e1e1415a0b17db609774f59b594c7633941 (patch) | |
| tree | c4ea048fd9ad91c86ca73e313a5aca8b6b3a5ec3 /src/managers/input/InputManager.cpp | |
| parent | 7486576fa7a3d394254cb07734679df4b2469071 (diff) | |
style: fix clang-format
Diffstat (limited to 'src/managers/input/InputManager.cpp')
| -rw-r--r-- | src/managers/input/InputManager.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index 9180e9cd..b2bbd577 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -1624,8 +1624,7 @@ void CInputManager::newSwitch(wlr_input_device* pDevice) { Debug::log(LOG, "New switch with name \"{}\" added", pDevice->name); - PNEWDEV->hyprListener_destroy.initCallback( - &pDevice->events.destroy, [&](void* owner, void* data) { destroySwitch((SSwitchDevice*)owner); }, PNEWDEV, "SwitchDevice"); + PNEWDEV->hyprListener_destroy.initCallback(&pDevice->events.destroy, [&](void* owner, void* data) { destroySwitch((SSwitchDevice*)owner); }, PNEWDEV, "SwitchDevice"); const auto PSWITCH = wlr_switch_from_input_device(pDevice); |
