Implemented move-pane -M to allow one to bind alt-mouse1-drag to move a floating pane with the mouse.

This commit is contained in:
Michael Grant
2026-06-16 18:28:00 +02:00
parent 4f2c162203
commit 0da26b9320
2 changed files with 80 additions and 2 deletions

View File

@@ -468,6 +468,7 @@ key_bindings_init(void)
/* Mouse button 1 drag on border. */
"bind -n MouseDrag1Border { resize-pane -M }",
"bind -n M-MouseDrag1Border { move-pane -M }",
/* Mouse button 1 down on status line. */
"bind -n MouseDown1Status { switch-client -t= }",