Introduction
Introduction Statistics Contact Development Disclaimer Help
Remove explicit XNFocusWindow - st - my customized version of st (hiltjo branch)
git clone git://git.codemadness.org/st
Log
Files
Refs
README
LICENSE
---
commit 51e19ea11dd42eefed1ca136ee3f6be975f618b1
parent 26cdfebf31f024e331429e482b1ee342708888e3
Author: Ivan Tham <[email protected]>
Date: Tue, 18 Feb 2020 23:28:47 +0800
Remove explicit XNFocusWindow
XCreateIC ICValues default XNFocusWindow to XNClientWindow if not
specified, it can be omitted since it is the same.
From the documentation
https://www.x.org/releases/current/doc/libX11/libX11/libX11.html
> Focus Window
>
> The XNFocusWindow argument specifies the focus window. The primary
> purpose of the XNFocusWindow is to identify the window that will receive
> the key event when input is composed.
>
> When this XIC value is left unspecified, the input method will use the
> client window as the default focus window.
Diffstat:
M x.c | 1 -
1 file changed, 0 insertions(+), 1 deletion(-)
---
diff --git a/x.c b/x.c
@@ -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);
}
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.