touch: fix touch swipe invert config (#7014)
This commit is contained in:
parent
e2efecc24e
commit
2da3cfb422
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue