Skip to content

Commit

Permalink
refactor: rename
Browse files Browse the repository at this point in the history
  • Loading branch information
horriblename committed Dec 26, 2023
1 parent 75890e7 commit 6ee5c1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GestureManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

bool handleGestureBind(std::string bind, bool pressed);

int handleTimer(void* data) {
int handleLongPressTimer(void* data) {
const auto gesture_manager = (GestureManager*)data;
gesture_manager->onLongPressTimeout(gesture_manager->hold_gesture_next_trigger_time);

Expand All @@ -30,7 +30,7 @@ GestureManager::GestureManager() {
this->addLongPress(PSENSITIVITY, HOLD_DELAY);
this->addEdgeSwipeGesture(PSENSITIVITY, HOLD_DELAY);

this->hold_gesture_timer = wl_event_loop_add_timer(g_pCompositor->m_sWLEventLoop, handleTimer, this);
this->hold_gesture_timer = wl_event_loop_add_timer(g_pCompositor->m_sWLEventLoop, handleLongPressTimer, this);
}

GestureManager::~GestureManager() {
Expand Down

0 comments on commit 6ee5c1c

Please sign in to comment.