summaryrefslogtreecommitdiff
path: root/x11-wm/sawfish2
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-05-20 16:02:09 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-05-20 16:02:09 +0000
commit77377361c25bf0ccc75bb209492af2d934301410 (patch)
tree968338369d239cc5140f63427a9b3b5e7b576cc5 /x11-wm/sawfish2
parentUpdate to 0.18 (diff)
Add a patch to prevent lockups with custom menus.
PR: 52069 Submitted by: sheldonh Obtained from: Sawfish CVS
Notes
Notes: svn path=/head/; revision=81551
Diffstat (limited to 'x11-wm/sawfish2')
-rw-r--r--x11-wm/sawfish2/Makefile2
-rw-r--r--x11-wm/sawfish2/files/patch-scripts_sawfish-menu.jl12
2 files changed, 13 insertions, 1 deletions
diff --git a/x11-wm/sawfish2/Makefile b/x11-wm/sawfish2/Makefile
index 1e326faf1baf..53d7ec1e40bc 100644
--- a/x11-wm/sawfish2/Makefile
+++ b/x11-wm/sawfish2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= sawfish2
PORTVERSION= 1.3
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 2
CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
diff --git a/x11-wm/sawfish2/files/patch-scripts_sawfish-menu.jl b/x11-wm/sawfish2/files/patch-scripts_sawfish-menu.jl
new file mode 100644
index 000000000000..af52f34579a5
--- /dev/null
+++ b/x11-wm/sawfish2/files/patch-scripts_sawfish-menu.jl
@@ -0,0 +1,12 @@
+--- scripts/sawfish-menu.jl.orig Tue May 20 11:49:42 2003
++++ scripts/sawfish-menu.jl Tue May 20 11:50:54 2003
+@@ -106,7 +106,8 @@
+ (g-signal-connect menu "deactivate" gtk-main-quit)
+ (setq menu-selected nil)
+ (gtk-menu-popup-interp menu nil nil 0 (or timestamp 0) position)
+- (gtk-main)
++ (when (memq 'visible (GTK-WIDGET-FLAGS menu))
++ (gtk-main))
+ menu-selected))
+
+