aboutsummaryrefslogtreecommitdiff
path: root/server-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'server-client.c')
-rw-r--r--server-client.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/server-client.c b/server-client.c
index 680350df..3810416e 100644
--- a/server-client.c
+++ b/server-client.c
@@ -457,8 +457,10 @@ server_client_check_mouse(struct client *c)
}
}
- /* Begin a drag by setting the flag to nonzero, where the value
- corresponds to the mouse button doing the dragging. */
+ /*
+ * Begin a drag by setting the flag to a non-zero value that
+ * corresponds to the mouse button in use.
+ */
c->tty.mouse_drag_flag = MOUSE_BUTTONS(b) + 1;
break;
case WHEEL: