From: Ivan Tham Date: Tue, 18 Feb 2020 15:28:47 +0000 (+0800) Subject: Remove explicit XNFocusWindow X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=51e19ea11dd42eefed1ca136ee3f6be975f618b1;hp=51e19ea11dd42eefed1ca136ee3f6be975f618b1;p=st.git 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. ---