diff --git a/sway/input_state.c b/sway/input_state.c
index 24678f71..25308a77 100644
--- a/sway/input_state.c
+++ b/sway/input_state.c
@@ -314,7 +314,7 @@ void pointer_mode_update(void) {
 	switch (pointer_state.mode) {
 	case M_FLOATING | M_DRAGGING:
 		// Update position
-		switch (config->resizing_key) {
+		switch (config->dragging_key) {
 		case M_LEFT_CLICK:
 			dx -= pointer_state.left.x;
 			dy -= pointer_state.left.y;