mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-12-27 17:55:24 +03:00
touch: fix touch swipe invert config (#7014)
This commit is contained in:
parent
e2efecc24e
commit
2da3cfb422
@ -14,7 +14,7 @@ void CInputManager::onTouchDown(ITouch::SDownEvent e) {
|
|||||||
// TODO: WORKSPACERULE.gapsOut.value_or()
|
// TODO: WORKSPACERULE.gapsOut.value_or()
|
||||||
auto gapsOut = *PGAPSOUT;
|
auto gapsOut = *PGAPSOUT;
|
||||||
static auto PBORDERSIZE = CConfigValue<Hyprlang::INT>("general:border_size");
|
static auto PBORDERSIZE = CConfigValue<Hyprlang::INT>("general:border_size");
|
||||||
static auto PSWIPEINVR = CConfigValue<Hyprlang::INT>("gestures:workspace_swipe_invert");
|
static auto PSWIPEINVR = CConfigValue<Hyprlang::INT>("gestures:workspace_swipe_touch_invert");
|
||||||
EMIT_HOOK_EVENT_CANCELLABLE("touchDown", e);
|
EMIT_HOOK_EVENT_CANCELLABLE("touchDown", e);
|
||||||
|
|
||||||
auto PMONITOR = g_pCompositor->getMonitorFromName(!e.device->boundOutput.empty() ? e.device->boundOutput : "");
|
auto PMONITOR = g_pCompositor->getMonitorFromName(!e.device->boundOutput.empty() ? e.device->boundOutput : "");
|
||||||
|
Loading…
Reference in New Issue
Block a user