svn commit: r495939 - in head/x11/dmenu: . files
Mateusz Piotrowski
0mp at FreeBSD.org
Sat Mar 16 18:18:20 UTC 2019
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 at 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) {
More information about the svn-ports-head
mailing list