[hackers] [st][PATCH] Remove explicit XNFocusWindow

From: Ivan Tham <pickfire_AT_riseup.net>
Date: Mon, 17 Feb 2020 22:12:56 +0800

XCreateIC ICValues default XNFocusWindow to XNClientWindow if not
specified, it can be omitted since it is the same.
---
 x.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/x.c b/x.c
index 1f62129..48a6676 100644
--- a/x.c
+++ b/x.c
_AT_@ -1047,7 +1047,6 @@ ximopen(Display *dpy)
 		xw.ime.xic = XCreateIC(xw.ime.xim, XNInputStyle,
 		                       XIMPreeditNothing | XIMStatusNothing,
 		                       XNClientWindow, xw.win,
-		                       XNFocusWindow, xw.win,
 		                       XNDestroyCallback, &icdestroy,
 		                       NULL);
 	}
-- 
2.25.0
Received on Mon Feb 17 2020 - 15:12:56 CET

This archive was generated by hypermail 2.3.0 : Mon Feb 17 2020 - 15:24:29 CET