x11: Initialize wm->incr when converting the TARGETS target

This commit is contained in:
Kristian Høgsberg
2012-01-03 22:55:25 -05:00
parent 300deba3be
commit f9b0844e59
+1
View File
@@ -1046,6 +1046,7 @@ weston_wm_handle_xfixes_selection_notify(struct weston_wm *wm,
return;
}
wm->incr = 0;
xcb_convert_selection(wm->conn, wm->selection_window,
wm->atom.clipboard,
wm->atom.targets,