Date: Fri, 29 Jan 2021 08:03:41 +0000 (UTC) From: Guido Falsi <madpilot@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r563178 - in head/x11/libxfce4menu: . files Message-ID: <202101290803.10T83fpN044837@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: madpilot Date: Fri Jan 29 08:03:41 2021 New Revision: 563178 URL: https://svnweb.freebsd.org/changeset/ports/563178 Log: 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 Added: head/x11/libxfce4menu/files/ head/x11/libxfce4menu/files/patch-libxfce4kbd-private_xfce-shortcuts-grabber.c (contents, props changed) Modified: head/x11/libxfce4menu/Makefile Modified: head/x11/libxfce4menu/Makefile ============================================================================== --- head/x11/libxfce4menu/Makefile Fri Jan 29 07:52:42 2021 (r563177) +++ head/x11/libxfce4menu/Makefile Fri Jan 29 08:03:41 2021 (r563178) @@ -3,6 +3,7 @@ PORTNAME= libxfce4menu PORTVERSION= 4.16.0 +PORTREVISION= 1 CATEGORIES= x11 xfce MASTER_SITES= XFCE DISTNAME= libxfce4ui-${DISTVERSIONFULL} Added: head/x11/libxfce4menu/files/patch-libxfce4kbd-private_xfce-shortcuts-grabber.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/libxfce4menu/files/patch-libxfce4kbd-private_xfce-shortcuts-grabber.c Fri Jan 29 08:03:41 2021 (r563178) @@ -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); + } +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101290803.10T83fpN044837>