diff options
| -rw-r--r-- | st.c | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -1151,8 +1151,7 @@ selnotify(XEvent *e) | |||
| 1151 | * Deleting the property again tells the selection owner to send the | 1151 | * Deleting the property again tells the selection owner to send the |
| 1152 | * next data chunk in the property. | 1152 | * next data chunk in the property. |
| 1153 | */ | 1153 | */ |
| 1154 | if (e->type == PropertyNotify) | 1154 | XDeleteProperty(xw.dpy, xw.win, (int)property); |
| 1155 | XDeleteProperty(xw.dpy, xw.win, (int)property); | ||
| 1156 | } | 1155 | } |
| 1157 | 1156 | ||
| 1158 | void | 1157 | void |
