diff options
author | marcus <marcus@FreeBSD.org> | 2003-05-21 00:02:09 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-05-21 00:02:09 +0800 |
commit | 582cfa78c6f5408ffcdee98bc8ce0485c018622b (patch) | |
tree | b93a25c78f34d0058e76db4dc81eec85d4045c02 /x11-wm/sawfish2 | |
parent | 932889360d1a71c8ee8fb29fc26ff5397b6d3cff (diff) | |
download | freebsd-ports-gnome-582cfa78c6f5408ffcdee98bc8ce0485c018622b.tar.gz freebsd-ports-gnome-582cfa78c6f5408ffcdee98bc8ce0485c018622b.tar.zst freebsd-ports-gnome-582cfa78c6f5408ffcdee98bc8ce0485c018622b.zip |
Add a patch to prevent lockups with custom menus.
PR: 52069
Submitted by: sheldonh
Obtained from: Sawfish CVS
Diffstat (limited to 'x11-wm/sawfish2')
-rw-r--r-- | x11-wm/sawfish2/Makefile | 2 | ||||
-rw-r--r-- | x11-wm/sawfish2/files/patch-scripts_sawfish-menu.jl | 12 |
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)) + + |