X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=st.c;h=8e31a7357efc792e597111fe5b7a40c005daba95;hb=017af76f5c89fa1acf9b54ceaad2101dcfd880a0;hp=655d5a330555608bbdff962e12d506e944d1fd94;hpb=462a966ee2c0f49f432bedaf8e6ebdff995262a9;p=st.git diff --git a/st.c b/st.c index 655d5a3..8e31a73 100644 --- a/st.c +++ b/st.c @@ -291,7 +291,7 @@ static void ttywrite(const char *, size_t); static void xdraws(char *, Glyph, int, int, int, int); static void xhints(void); static void xclear(int, int, int, int); -static void xcopy(); +static void xcopy(void); static void xdrawcursor(void); static void xinit(void); static void xloadcols(void); @@ -316,7 +316,7 @@ static void selrequest(XEvent *); static void selinit(void); static inline bool selected(int, int); static void selcopy(void); -static void selpaste(); +static void selpaste(void); static void selscroll(int, int); static int utf8decode(char *, long *); @@ -2059,7 +2059,7 @@ xdrawcursor(void) { } else xclear(oldx, oldy, oldx, oldy); - xcopy(oldx, oldy, 1, 1); + xcopy(); /* draw the new one */ if(!(term.c.state & CURSOR_HIDE)) { @@ -2074,7 +2074,7 @@ xdrawcursor(void) { oldx = term.c.x, oldy = term.c.y; } - xcopy(term.c.x, term.c.y, 1, 1); + xcopy(); } void