Adjust for dmenu-4.9 (syncing with wip/dmenu) - pkgsrc-localpatches - leot's pkgsrc LOCALPATCHES
(HTM) hg clone https://bitbucket.org/iamleot/pkgsrc-localpatches
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) changeset da97d19b260581b1474f438b4b505531754cb590
(DIR) parent 1c193f1024e1a0de7e26f7ca6de0a60061322568
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Sun, 3 Feb 2019 23:05:15
Adjust for dmenu-4.9 (syncing with wip/dmenu)
Diffstat:
x11/dmenu/patch-dmenu.c | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
---
diff -r 1c193f1024e1 -r da97d19b2605 x11/dmenu/patch-dmenu.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/dmenu/patch-dmenu.c Sun Feb 03 23:05:15 2019 +0100
@@ -0,0 +1,16 @@
+$NetBSD$
+
+Avoid to possibly "loose" the focus (at least on st sometimes when
+invoking dmenu the "full white block cursor" become "full empty
+block cursor" like when st window is not focused).
+
+--- dmenu.c.orig 2018-12-01 11:28:54.000000000 +0000
++++ dmenu.c
+@@ -667,7 +667,6 @@ setup(void)
+ XNClientWindow, win, XNFocusWindow, win, NULL);
+
+ XMapRaised(dpy, win);
+- XSetInputFocus(dpy, win, RevertToParent, CurrentTime);
+ if (embed) {
+ XSelectInput(dpy, parentwin, FocusChangeMask);
+ if (XQueryTree(dpy, parentwin, &dw, &w, &dws, &du) && dws) {