Add a patch to prevent lockups with custom menus.

PR:	52069
Submitted by:	sheldonh
Obtained from:	Sawfish CVS
This commit is contained in:
Joe Marcus Clarke 2003-05-20 16:02:09 +00:00
parent 120934fab6
commit 77377361c2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=81551
2 changed files with 13 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= sawfish2
PORTVERSION= 1.3
PORTREVISION= 1
PORTREVISION= 2
PORTEPOCH= 2
CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \

View File

@ -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))