---
 x.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/x.c b/x.c
index e000894..9289a75 100644
--- a/x.c
+++ b/x.c
@@ -142,7 +142,7 @@ static void xdrawglyphfontspecs(const XftGlyphFontSpec *, 
Glyph, int, int, int);
 static void xdrawglyph(Glyph, int, int);
 static void xclear(int, int, int, int);
 static int xgeommasktogravity(int);
-static void ximopen(Display *);
+static void ximopen();
 static void ximinstantiate(Display *, XPointer, XPointer);
 static void ximdestroy(XIM, XPointer, XPointer);
 static void xinit(int, int);
@@ -1022,7 +1022,7 @@ xunloadfonts(void)
 }
 
 void
-ximopen(Display *dpy)
+ximopen()
 {
        XIMCallback destroy = { .client_data = NULL, .callback = ximdestroy };
 
@@ -1045,7 +1045,7 @@ ximopen(Display *dpy)
 void
 ximinstantiate(Display *dpy, XPointer client, XPointer call)
 {
-       ximopen(dpy);
+       ximopen();
        XUnregisterIMInstantiateCallback(xw.dpy, NULL, NULL, NULL,
                                        ximinstantiate, NULL);
 }
@@ -1123,7 +1123,7 @@ xinit(int cols, int rows)
        xw.draw = XftDrawCreate(xw.dpy, xw.buf, xw.vis, xw.cmap);
 
        /* input methods */
-       ximopen(xw.dpy);
+       ximopen();
 
        /* white cursor, black outline */
        cursor = XCreateFontCursor(xw.dpy, mouseshape);
-- 
2.25.0


Reply via email to