X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=st.c;h=6736464f7ecc2819cc9c22622149eb6ef6701c91;hb=60aeb37edb8c5280d31b6b3c801d09c7a5fdca76;hp=27536d28acea16b88ae9dab60de263c6408fcb20;hpb=66556d967028a0b770e9bfcb9667389a6e994a58;p=st.git diff --git a/st.c b/st.c index 27536d2..6736464 100644 --- a/st.c +++ b/st.c @@ -1151,8 +1151,7 @@ selnotify(XEvent *e) * Deleting the property again tells the selection owner to send the * next data chunk in the property. */ - if (e->type == PropertyNotify) - XDeleteProperty(xw.dpy, xw.win, (int)property); + XDeleteProperty(xw.dpy, xw.win, (int)property); } void