MFH: r566943

Import patch from upstream to fix key grabbing issues.

This replaces previous homegroown patch.

PR:		244290
Submitted by:	aryeh.friedman@gmail.com
Tested by:	Jethro Nederhof <jethro@jethron.id.au>
Obtained from:	https://gitlab.xfce.org/xfce/libxfce4ui/-/merge_requests/27
This commit is contained in:
Guido Falsi 2021-03-11 09:05:59 +00:00
parent f48d9d063f
commit fe97c82076
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2021Q1/; revision=568071
3 changed files with 1325 additions and 22 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= libxfce4menu
PORTVERSION= 4.16.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= x11 xfce
MASTER_SITES= XFCE
DISTNAME= libxfce4ui-${DISTVERSIONFULL}

View File

@ -1,21 +0,0 @@
--- libxfce4kbd-private/xfce-shortcuts-grabber.c.orig 2020-11-23 10:16:17 UTC
+++ libxfce4kbd-private/xfce-shortcuts-grabber.c
@@ -22,6 +22,8 @@
#include <config.h>
#endif
+#include <sys/param.h>
+
#include <glib.h>
#include <glib-object.h>
@@ -180,6 +182,9 @@ xfce_shortcuts_grabber_keys_changed (GdkKeymap
TRACE ("Keys changed, regrabbing");
+#ifdef __FreeBSD__
+ xfce_shortcuts_grabber_ungrab_all (grabber);
+#endif
xfce_shortcuts_grabber_grab_all (grabber);
}

File diff suppressed because it is too large Load Diff