git: 1ed83a302326 - main - deskutils/freeplane: Fix an issue with menus in Wayland
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 15 Feb 2025 13:37:46 UTC
The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=1ed83a302326d19d3368cb1b12176d908bbb321c commit 1ed83a302326d19d3368cb1b12176d908bbb321c Author: Nicola Vitale <nivit@FreeBSD.org> AuthorDate: 2025-02-15 13:31:39 +0000 Commit: Nicola Vitale <nivit@FreeBSD.org> CommitDate: 2025-02-15 13:37:22 +0000 deskutils/freeplane: Fix an issue with menus in Wayland - Fix an issue with dropdown menus in Wayland that prevents to open or select any items with the mouse cursor. - Bump PORTREVISION --- deskutils/freeplane/Makefile | 1 + deskutils/freeplane/files/freeplane.in | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/deskutils/freeplane/Makefile b/deskutils/freeplane/Makefile index aa9e7d5a680a..9ea903648dee 100644 --- a/deskutils/freeplane/Makefile +++ b/deskutils/freeplane/Makefile @@ -1,5 +1,6 @@ PORTNAME= freeplane DISTVERSION= 1.12.9 +PORTREVISION= 1 CATEGORIES= deskutils editors java MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20stable DISTNAME= ${PORTNAME}_bin-${PORTVERSION} diff --git a/deskutils/freeplane/files/freeplane.in b/deskutils/freeplane/files/freeplane.in index c61217966e84..4b0ff3dad1ac 100644 --- a/deskutils/freeplane/files/freeplane.in +++ b/deskutils/freeplane/files/freeplane.in @@ -1,3 +1,9 @@ #!/bin/sh +# Fix an issue with dropdown menu in Wayland that prevents +# to open or select any items with the mouse cursor. +if [ -n "$WAYLAND_DISPLAY" ]; then + export _JAVA_AWT_WM_NONREPARENTING=1 +fi + exec %%DATADIR%%/freeplane.sh "$@"