Date: Sat, 16 Mar 2019 18:18:19 +0000 (UTC) From: Mateusz Piotrowski <0mp@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r495939 - in head/x11/dmenu: . files Message-ID: <201903161818.x2GIIJDM054373@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: 0mp Date: Sat Mar 16 18:18:19 2019 New Revision: 495939 URL: https://svnweb.freebsd.org/changeset/ports/495939 Log: x11/dmenu: Patch an input focus bug Dmenu 4.9 was release with a bug causing problems with input focus. We apply a temporary fix while upstream prepares a new release. Mailing list discussion: https://lists.suckless.org/dev/1902/33272.html PR: 236107 Submitted by: Oleh Hushchenkov <o.hushchenkov@gmail.com> Reviewed by: mat Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D19414 Added: head/x11/dmenu/files/ head/x11/dmenu/files/patch-dmenu.c (contents, props changed) Modified: head/x11/dmenu/Makefile Modified: head/x11/dmenu/Makefile ============================================================================== --- head/x11/dmenu/Makefile Sat Mar 16 18:03:41 2019 (r495938) +++ head/x11/dmenu/Makefile Sat Mar 16 18:18:19 2019 (r495939) @@ -3,6 +3,7 @@ PORTNAME= dmenu DISTVERSION= 4.9 +PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= http://dl.suckless.org/tools/ \ http://schot.a-eskwadraat.nl/files/ Added: head/x11/dmenu/files/patch-dmenu.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/dmenu/files/patch-dmenu.c Sat Mar 16 18:18:19 2019 (r495939) @@ -0,0 +1,11 @@ +--- dmenu.c.orig 2019-02-28 14:52:56 UTC ++++ dmenu.c +@@ -665,7 +665,7 @@ setup(void) + XNClientWindow, win, XNFocusWindow, win, NULL); + + XMapRaised(dpy, win); +- XSetInputFocus(dpy, win, RevertToParent, CurrentTime); ++ /* XSetInputFocus(dpy, win, RevertToParent, CurrentTime); */ + if (embed) { + XSelectInput(dpy, parentwin, FocusChangeMask); + if (XQueryTree(dpy, parentwin, &dw, &w, &dws, &du) && dws) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903161818.x2GIIJDM054373>