diff options
author | xride <xride@FreeBSD.org> | 2010-07-24 03:01:27 +0800 |
---|---|---|
committer | xride <xride@FreeBSD.org> | 2010-07-24 03:01:27 +0800 |
commit | 8aac1d117a912c3b4f15e69d0175d4650fb43d6c (patch) | |
tree | a88054df11ade34594c4738b847264f1e451b1b2 /comms/xastir/files | |
parent | 977594c05bf480646f34dbffcade0e3cbc39bf83 (diff) | |
download | freebsd-ports-gnome-8aac1d117a912c3b4f15e69d0175d4650fb43d6c.tar.gz freebsd-ports-gnome-8aac1d117a912c3b4f15e69d0175d4650fb43d6c.tar.zst freebsd-ports-gnome-8aac1d117a912c3b4f15e69d0175d4650fb43d6c.zip |
Update to fix an issue with Xastir/Motif and a certain level of Xorg server.
PR: ports/148491
Submitted by: Carl Makin <carl@stagecraft.cx> (maintainer)
Diffstat (limited to 'comms/xastir/files')
-rw-r--r-- | comms/xastir/files/patch-main.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/comms/xastir/files/patch-main.c b/comms/xastir/files/patch-main.c new file mode 100644 index 000000000000..6eaa14c20a2c --- /dev/null +++ b/comms/xastir/files/patch-main.c @@ -0,0 +1,19 @@ + +--- src/main.c 11 Mar 2010 04:03:58 -0000 1.792 ++++ src/main.c 7 May 2010 16:23:16 -0000 1.793 +@@ -9018,6 +9018,12 @@ + "create_appshell Menu Popup", + al, + ac); ++#if XmVersion >= 2000 ++ XtVaSetValues(right_menu_popup, XmNpopupEnabled, XmPOPUP_DISABLED, NULL); ++ XtUngrabButton(da, AnyButton, AnyModifier); ++#else ++ XtVaSetValues(right_menu_popup, XmNpopupEnabled, False, NULL); ++#endif + //XtVaSetValues(right_menu_popup, XmNwhichButton, 3, NULL); + + ac = 0; + + + |