git: 1a77aba2113a - 2024Q3 - x11-wm/dwl: document default mouse bindings

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Wed, 28 Aug 2024 12:48:35 UTC
The branch 2024Q3 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1a77aba2113a023a19dc8d2deb63b554e53fef41

commit 1a77aba2113a023a19dc8d2deb63b554e53fef41
Author:     Scott Robbins <srobb@srobb.net>
AuthorDate: 2024-08-27 23:17:24 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-08-28 12:47:51 +0000

    x11-wm/dwl: document default mouse bindings
    
    (cherry picked from commit 0f08f5cb1eb0fc4178faa244da0eb964b9a09eba)
---
 x11-wm/dwl/Makefile          |  1 +
 x11-wm/dwl/files/patch-dwl.1 | 21 +++++++++++++++++++++
 2 files changed, 22 insertions(+)

diff --git a/x11-wm/dwl/Makefile b/x11-wm/dwl/Makefile
index fc6473874014..11347752fa65 100644
--- a/x11-wm/dwl/Makefile
+++ b/x11-wm/dwl/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	dwl
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.6
+PORTREVISION=	1
 CATEGORIES=	x11-wm wayland
 MASTER_SITES=	https://codeberg.org/${PORTNAME}/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
 
diff --git a/x11-wm/dwl/files/patch-dwl.1 b/x11-wm/dwl/files/patch-dwl.1
new file mode 100644
index 000000000000..dcbb2cbd4cf3
--- /dev/null
+++ b/x11-wm/dwl/files/patch-dwl.1
@@ -0,0 +1,21 @@
+https://codeberg.org/dwl/dwl/issues/697
+
+--- dwl.1.orig	2024-08-06 18:03:27 UTC
++++ dwl.1
+@@ -100,6 +100,16 @@ These might differ depending on your keyboard layout.
+ .Nm .
+ .El
+ These might differ depending on your keyboard layout.
++.Ss Mouse commands
++.Bl -tag -width 20n -offset indent -compact
++.It Mod-Button1
++Move focused window while dragging. Tiled windows will be toggled to the floating state.
++.It Mod-Button2
++Toggles focused window between floating and tiled state.
++.It Mod-Button3
++Resize focused window while dragging. Tiled windows will be toggled to
++the
++floating state.
+ .Sh ENVIRONMENT
+ These environment variables are used by
+ .Nm :