mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-07 13:58:00 +02:00
Merge fc63e74c2b into 1681bea42d
This commit is contained in:
commit
38e52ebc13
2 changed files with 5 additions and 5 deletions
|
|
@ -21,7 +21,7 @@ UP<CPropRefresher>& Supplementary::refresher() {
|
|||
}
|
||||
|
||||
void CPropRefresher::scheduleRefresh(PropRefreshBits prop) {
|
||||
static auto PZOOMFACTOR = CConfigValue<Config::FLOAT>("cursor.zoom_factor");
|
||||
static auto PZOOMFACTOR = CConfigValue<Config::FLOAT>("cursor:zoom_factor");
|
||||
|
||||
m_propsTripped |= prop;
|
||||
|
||||
|
|
@ -102,4 +102,4 @@ void CPropRefresher::scheduleRefresh(PropRefreshBits prop) {
|
|||
|
||||
m_scheduled = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,13 +32,13 @@ void CInputManager::onTouchDown(ITouch::SDownEvent e) {
|
|||
|
||||
PMONITOR = PMONITOR ? PMONITOR : Desktop::focusState()->monitor();
|
||||
|
||||
if (PMONITOR != Desktop::focusState()->monitor())
|
||||
Desktop::focusState()->rawMonitorFocus(PMONITOR);
|
||||
|
||||
const auto TOUCH_COORDS = PMONITOR->m_position + (e.pos * PMONITOR->m_size);
|
||||
|
||||
refocus(TOUCH_COORDS);
|
||||
|
||||
if (PMONITOR != Desktop::focusState()->monitor())
|
||||
Desktop::focusState()->rawMonitorFocus(PMONITOR);
|
||||
|
||||
if (m_clickBehavior == CLICKMODE_KILL) {
|
||||
IPointer::SButtonEvent e;
|
||||
e.state = WL_POINTER_BUTTON_STATE_PRESSED;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue