mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
Add patch to libxfce4menu reverting part of upstream commit 85d8d390,
adding back code to ungrab all keys before grabbing them again. The call has been removed upstream due to causing problems with tty switching on linux, but testing in FreeBSD show no such problems when switching to and from vty, and fix issues with keys not working properly in FreeBSD. PR: 244290 Submitted by: aryeh.friedman@gmail.com, Jethro Nederhof <jethro@jethron.id.au> (suggested patch) Reported by: many MFH: 2021Q1
This commit is contained in:
parent
376da813b5
commit
bdba3df0e9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=563178
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= libxfce4menu
|
||||
PORTVERSION= 4.16.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11 xfce
|
||||
MASTER_SITES= XFCE
|
||||
DISTNAME= libxfce4ui-${DISTVERSIONFULL}
|
||||
|
@ -0,0 +1,21 @@
|
||||
--- 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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user