Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
horriblename committed Jun 7, 2024
1 parent f896ce2 commit 6a8fc0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GestureManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ bool GestureManager::handleDragGesture(const DragGesture& gev) {
return this->handleWorkspaceSwipe(gev.direction);

case DragGestureType::EDGE_SWIPE:
if (workspace_swipe_edge_str == "l" && gev.direction == GESTURE_DIRECTION_LEFT) {
if (workspace_swipe_edge_str == "l" && gev.edge_origin == GESTURE_DIRECTION_LEFT) {
return this->handleWorkspaceSwipe(gev.direction);
}
if (workspace_swipe_edge_str == "r" && gev.edge_origin == GESTURE_DIRECTION_RIGHT) {
Expand Down

0 comments on commit 6a8fc0f

Please sign in to comment.